Review Request 108212: [1/3] Refactor EnvironmentSelectionWidget.

Milian Wolff mail at milianw.de
Thu Dec 5 13:20:07 UTC 2013


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



util/environmentselectionmodel.h
<http://git.reviewboard.kde.org/r/108212/#comment32290>

    No, simply return an EnvironmentGroupList.
    
    You probably need to implement the proper copy API in that class but it's really cheap to do since QMap and QString is implicitly shared.
    
    And since this is never called in a tight loop, the d-ptr allocation should also be negligible.



util/environmentselectionmodel.h
<http://git.reviewboard.kde.org/r/108212/#comment32291>

    


- Milian Wolff


On Dec. 4, 2013, 4:02 p.m., Ivan Shapovalov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108212/
> -----------------------------------------------------------
> 
> (Updated Dec. 4, 2013, 4:02 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdevplatform
> 
> 
> 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 6f2dd8c 
>   plugins/executescript/scriptappconfig.cpp 370231a 
>   util/CMakeLists.txt 87384bd 
>   util/environmentconfigurebutton.cpp b95e536 
>   util/environmentselectionmodel.h PRE-CREATION 
>   util/environmentselectionmodel.cpp PRE-CREATION 
>   util/environmentselectionwidget.h 0784ba1 
>   util/environmentselectionwidget.cpp a198f32 
> 
> 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/20131205/38cf0f83/attachment.html>


More information about the KDevelop-devel mailing list