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

Ivan Shapovalov intelfx100 at gmail.com
Fri Dec 6 18:04:37 UTC 2013



> On Dec. 6, 2013, 11:09 a.m., Milian Wolff wrote:
> > util/environmentselectionmodel.cpp, line 97
> > <http://git.reviewboard.kde.org/r/108212/diff/6/?file=222957#file222957line97>
> >
> >     ah so here you use this... but why? Don't do the compilers work, just write this:
> >     
> >     m_env = EnvironmentGroupList( KGlobal::config() );

I was just lazy to implement EnvironmentGroupList::operator=().


- Ivan


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


On Dec. 6, 2013, 5:15 a.m., Ivan Shapovalov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108212/
> -----------------------------------------------------------
> 
> (Updated Dec. 6, 2013, 5:15 a.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 5bf1255 
>   util/environmentconfigurebutton.cpp b95e536 
>   util/environmentgrouplist.h 4981b73 
>   util/environmentgrouplist.cpp cec71bd 
>   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/20131206/78b1d6c4/attachment.html>


More information about the KDevelop-devel mailing list