diff options
author | David Faure <faure@kde.org> | 2014-06-28 00:19:31 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2014-07-01 10:26:54 +0200 |
commit | 054d849879647fd4cf90c4f622877d3a11720bb2 (patch) | |
tree | 1d416f76dab387122f5eb45ffb0aad309bdd57cc /autotests/ksharedconfigtest.cpp | |
parent | 55c055470aa4f8e153688c7720811c6413d71346 (diff) | |
download | kconfig-054d849879647fd4cf90c4f622877d3a11720bb2.tar.gz kconfig-054d849879647fd4cf90c4f622877d3a11720bb2.tar.bz2 |
KSharedConfig: move mainConfig and wasTestEnabled to the thread storage.
This enables the mainConfig optimization in all threads,
and ensures the user warning only happens in the main thread.
The test-mode-enabled logic is only really useful in the main thread,
but it's simpler to just do it in all threads.
REVIEW: 118985
Diffstat (limited to 'autotests/ksharedconfigtest.cpp')
0 files changed, 0 insertions, 0 deletions