CSMPrefs: fix deadlock in toColor()

openmw-38
scrawl 9 years ago
parent 4553db7b43
commit 6ee7c61667

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

Loading…
Cancel
Save