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

David Faure faure at
Fri Jan 23 22:39:09 UTC 2015

This is an automatically generated e-mail. To reply, visit:

Review request for KDE Frameworks, Albert Astals Cid and Matthew Dawson.

Repository: kconfig


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

ksharedconfig_in_global_object.cpp is new (but works with kdelibs4)
and reproduces Albert's KgDifficulty testcase.


  autotests/CMakeLists.txt b91f754b705fc87bb8b729bea72fbb5f7d427ace 
  autotests/kconfig_in_global_object.cpp PRE-CREATION 
  autotests/ksharedconfig_in_global_object.cpp PRE-CREATION 
  src/core/kconfig.cpp 782e9714521234a3e3d8f3a788967e5c9a40f38a 



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


David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-frameworks-devel mailing list