Review Request 118039: Simplify KConfig::readEntry/writeEntry
Matthew Dawson
matthew at mjdsystems.ca
Wed May 7 18:12:14 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118039/#review57518
-----------------------------------------------------------
Does anyone know the purpose of the *Check functions in the first place? The change generally seems fine to me otherwise, I'm just not aware of the code history, and git doesn't reveal anything interesting, and I want to avoid rebraking a past fixed issue.
autotests/kconfigtest.cpp
<https://git.reviewboard.kde.org/r/118039/#comment40022>
As below, is this relevant to the simplification?
src/core/kconfiggroup.h
<https://git.reviewboard.kde.org/r/118039/#comment40023>
Please use Q_NULLPTR instead of nullptr, as we still support platforms that don't support nullptr.
src/core/kconfiggroup.h
<https://git.reviewboard.kde.org/r/118039/#comment40021>
Are these changes necessary for the simplification? If not, can this be moved to a separate RR/commit please?
- Matthew Dawson
On May 7, 2014, 1:15 p.m., Thomas Braxton wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118039/
> -----------------------------------------------------------
>
> (Updated May 7, 2014, 1:15 p.m.)
>
>
> Review request for KDE Frameworks and kdewin.
>
>
> Repository: kconfig
>
>
> Description
> -------
>
> This simplifies template<> readEntry/writeEntry by removing unnecessary *Check functions.
> Added kdewin because iirc there was a problem compiling on windows.
>
>
> Diffs
> -----
>
> autotests/kconfigtest.cpp 2768318
> src/core/kconfiggroup.h 1bcce58
>
> Diff: https://git.reviewboard.kde.org/r/118039/diff/
>
>
> Testing
> -------
>
> all tests still pass.
>
>
> Thanks,
>
> Thomas Braxton
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140507/f4e98629/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list