Fixes: Ensure consistent thread affinity of settings.
authorMathias Hasselmann <mathias@openismus.com>
Mon, 14 Nov 2011 11:13:13 +0000 (12:13 +0100)
committerMathias Hasselmann <mathias@openismus.com>
Mon, 14 Nov 2011 11:13:13 +0000 (12:13 +0100)
commitd414d2536ea82c69c43ad7cca7a0576f6b328803
treec8656a59a1e9e9fd5b9a816636a5c1846a674f32
parente4523f358317437b2c7c386fb0dd841adfe20386
Fixes: Ensure consistent thread affinity of settings.

RevBy: cocos (MR#309)
Details: Without this fix the singleton would belong to the random, potentially
short living thread accessing the singleton first. Also print a warning when
QctSettings is used without a QCoreApplication.
src/lib/settings.cpp