Review Request 122232: KConfig: fix using KSharedConfig in global object destructor.

David Faure faure at kde.org
Sat Feb 21 19:58:06 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122232/
-----------------------------------------------------------

(Updated Feb. 21, 2015, 7:58 p.m.)


Review request for KDE Frameworks and Matthew Dawson.


Changes
-------

back to rev2 + api doc for KSharedConfig


Repository: kconfig


Description (updated)
-------

kconfig_in_global_object.cpp comes from kdelibs4support
(after porting to Q_GLOBAL_STATIC)

ksharedconfig_in_global_object.cpp is now in kdelibs4 too
(where it works) and reproduces Albert's KgDifficulty testcase.


Diffs (updated)
-----

  autotests/CMakeLists.txt b91f754b705fc87bb8b729bea72fbb5f7d427ace 
  autotests/kconfig_in_global_object.cpp PRE-CREATION 
  autotests/ksharedconfig_in_global_object.cpp PRE-CREATION 
  src/core/kconfig.cpp 1da816faea5548d2f529755d6538a142a2193720 
  src/core/ksharedconfig.h d0791e461804d421010bc5f82873371a4d3bc992 

Diff: https://git.reviewboard.kde.org/r/122232/diff/


Testing
-------

Both tests pass and the QCoreApplication::arguments warning (because called after qApp is destroyed) is gone.


Thanks,

David Faure

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


More information about the Kde-frameworks-devel mailing list