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:
parent
4553db7b43
commit
6ee7c61667
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue