Review Request: [1/3] Refactor EnvironmentSelectionWidget.

Milian Wolff mail at milianw.de
Sun Jan 6 11:10:19 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108212/#review24800
-----------------------------------------------------------


I missed the "why" for this patch set - can you elaborate please why this is required?


util/environmentselectionwidget.h
<http://git.reviewboard.kde.org/r/108212/#comment19050>

    Imo this shows that direct inheritance of KComboBox is wrong then. Instead, inherit from QWidget and put the KComboBox in an internal layout (don't forget to remove its margins).


- Milian Wolff


On Jan. 5, 2013, 9:22 p.m., Ivan Shapovalov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108212/
> -----------------------------------------------------------
> 
> (Updated Jan. 5, 2013, 9:22 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> Feature-wise this gets rid of dependency on default KConfigXT value being "default" and allows explicitly specifying to use a default environment group whatever it will be.
> 
> Now an empty value shall be used by default, which has meaning of "use whatever is set by default at runtime".
> Also, a special "Use default" line is now always added to the combo-box which maps to the empty config value, so user won't see empty entries in the combo-box.
> 
> 
> Diffs
> -----
> 
>   plugins/execute/nativeappconfig.cpp 481d56c 
>   plugins/executescript/scriptappconfig.cpp b8f0729 
>   util/CMakeLists.txt 29de126 
>   util/environmentconfigurebutton.cpp 8303c70 
>   util/environmentselectionmodel.h PRE-CREATION 
>   util/environmentselectionmodel.cpp PRE-CREATION 
>   util/environmentselectionwidget.h 0a69afc 
>   util/environmentselectionwidget.cpp 63fdebc 
> 
> Diff: http://git.reviewboard.kde.org/r/108212/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> 
> Thanks,
> 
> Ivan Shapovalov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130106/831fa001/attachment.html>


More information about the KDevelop-devel mailing list