1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 20:49:56 +00:00

CSMPrefs: fix deadlock in toColor()

This commit is contained in:
scrawl 2015-12-15 19:32:42 +01:00
parent 4553db7b43
commit 6ee7c61667

View file

@ -71,7 +71,7 @@ bool CSMPrefs::Setting::isTrue() const
QColor CSMPrefs::Setting::toColor() const QColor CSMPrefs::Setting::toColor() const
{ {
QMutexLocker lock (mMutex); // toString() handles lock
return QColor (QString::fromUtf8 (toString().c_str())); return QColor (QString::fromUtf8 (toString().c_str()));
} }