|
|
@ -207,7 +207,6 @@ void Settings::loadGlobal() |
|
|
|
s.beginGroup("GUI"); |
|
|
|
s.beginGroup("GUI"); |
|
|
|
{ |
|
|
|
{ |
|
|
|
showWindow = s.value("showWindow", true).toBool(); |
|
|
|
showWindow = s.value("showWindow", true).toBool(); |
|
|
|
showInFront = s.value("showInFront", false).toBool(); |
|
|
|
|
|
|
|
notify = s.value("notify", true).toBool(); |
|
|
|
notify = s.value("notify", true).toBool(); |
|
|
|
groupAlwaysNotify = s.value("groupAlwaysNotify", true).toBool(); |
|
|
|
groupAlwaysNotify = s.value("groupAlwaysNotify", true).toBool(); |
|
|
|
groupchatPosition = s.value("groupchatPosition", true).toBool(); |
|
|
|
groupchatPosition = s.value("groupchatPosition", true).toBool(); |
|
|
@ -526,7 +525,6 @@ void Settings::saveGlobal() |
|
|
|
s.beginGroup("GUI"); |
|
|
|
s.beginGroup("GUI"); |
|
|
|
{ |
|
|
|
{ |
|
|
|
s.setValue("showWindow", showWindow); |
|
|
|
s.setValue("showWindow", showWindow); |
|
|
|
s.setValue("showInFront", showInFront); |
|
|
|
|
|
|
|
s.setValue("notify", notify); |
|
|
|
s.setValue("notify", notify); |
|
|
|
s.setValue("groupAlwaysNotify", groupAlwaysNotify); |
|
|
|
s.setValue("groupAlwaysNotify", groupAlwaysNotify); |
|
|
|
s.setValue("separateWindow", separateWindow); |
|
|
|
s.setValue("separateWindow", separateWindow); |
|
|
@ -1063,22 +1061,6 @@ void Settings::setSpellCheckingEnabled(bool newValue) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool Settings::getShowInFront() const |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
QMutexLocker locker{&bigLock}; |
|
|
|
|
|
|
|
return showInFront; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Settings::setShowInFront(bool newValue) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
QMutexLocker locker{&bigLock}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (newValue != showInFront) { |
|
|
|
|
|
|
|
showInFront = newValue; |
|
|
|
|
|
|
|
emit showInFrontChanged(showInFront); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool Settings::getNotifySound() const |
|
|
|
bool Settings::getNotifySound() const |
|
|
|
{ |
|
|
|
{ |
|
|
|
QMutexLocker locker{&bigLock}; |
|
|
|
QMutexLocker locker{&bigLock}; |
|
|
|