Fix b840f523bf5ac5038f71e5203f3757a8929df8f1

The commit inverted the logic which results in interesting crashes during
startup.

CCMAIL: hein@kde.org
icc-effect-5.14.5
Martin Gräßlin 2013-08-26 11:26:12 +02:00
parent 8051e08361
commit 8270744a34
1 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ static bool s_loadingDesktopSettings = false;
void VirtualDesktopManager::load()
{
s_loadingDesktopSettings = true;
if (m_config) {
if (!m_config) {
return;
}
QString groupname;
@ -354,7 +354,7 @@ void VirtualDesktopManager::save()
if (s_loadingDesktopSettings) {
return;
}
if (m_config) {
if (!m_config) {
return;
}
QString groupname;