diff --git a/virtualdesktops.cpp b/virtualdesktops.cpp index 63e85f3f6f..9d79da71ea 100644 --- a/virtualdesktops.cpp +++ b/virtualdesktops.cpp @@ -316,7 +316,7 @@ static bool s_loadingDesktopSettings = false; void VirtualDesktopManager::load() { s_loadingDesktopSettings = true; - if (m_config.isNull()) { + if (m_config) { return; } QString groupname; @@ -354,7 +354,7 @@ void VirtualDesktopManager::save() if (s_loadingDesktopSettings) { return; } - if (m_config.isNull()) { + if (m_config) { return; } QString groupname;