Review Request 109667: Make some KConfig classes return a bool when saving

Oswald Buddenhagen ossi at kde.org
Tue Mar 26 22:18:55 UTC 2013



> On March 23, 2013, 9:56 p.m., Oswald Buddenhagen wrote:
> > tier2/kconfig/src/core/kconfig.cpp, line 440
> > <http://git.reviewboard.kde.org/r/109667/diff/2/?file=121088#file121088line440>
> >
> >     well, it appears to fit the pre-existing logic. any particular reason why you are not sure?
> 
> Albert Astals Cid wrote:
>     What bothers me is that the d->bDirty is not there in 4.10 nor master, maybe we should put it there too?

good point. in principle this is a separate fix that should be committed to 4.10 to start with.


- Oswald


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


On March 23, 2013, 3:47 p.m., Albert Astals Cid wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109667/
> -----------------------------------------------------------
> 
> (Updated March 23, 2013, 3:47 p.m.)
> 
> 
> Review request for KDE Frameworks and Oswald Buddenhagen.
> 
> 
> Description
> -------
> 
> If it can fail, i want to know it so i can tell my users
> 
> Not totally sure of the
>    d->bDirty = true;
> i added in 
>    if (d->configState == ReadWrite && !tmp->lock()) {
> 
> 
> Diffs
> -----
> 
>   KDE5PORTING.html a01f3ec 
>   tier2/kconfig/autotests/kconfigguitest.cpp e6b4c17 
>   tier2/kconfig/autotests/kconfigtest.h 17a5294 
>   tier2/kconfig/autotests/kconfigtest.cpp 86ff718 
>   tier2/kconfig/autotests/ksharedconfigtest.cpp 2bb612f 
>   tier2/kconfig/src/core/kconfig.h 597330f 
>   tier2/kconfig/src/core/kconfig.cpp 5809275 
>   tier2/kconfig/src/core/kconfigbase.h ce190f3 
>   tier2/kconfig/src/core/kconfiggroup.h ff63afa 
>   tier2/kconfig/src/core/kconfiggroup.cpp 53cac13 
>   tier2/kconfig/src/core/kcoreconfigskeleton.h 3e4971b 
>   tier2/kconfig/src/core/kcoreconfigskeleton.cpp c0ad044 
> 
> Diff: http://git.reviewboard.kde.org/r/109667/diff/
> 
> 
> Testing
> -------
> 
> New Unitttest passes
> 
> 
> Thanks,
> 
> Albert Astals Cid
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130326/861ed98b/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list