Commit 3e34c9f0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We can have many KMMainWidget from long time ago

parent 9651942a
......@@ -1553,7 +1553,7 @@ void KMKernel::expireAllFoldersNow() // called by the GUI
bool KMKernel::canQueryClose()
{
if (KMMainWidget::mainWidgetList() && KMMainWidget::mainWidgetList()->count() > 1) {
if (KMMainWidget::mainWidgetList()) {
return true;
}
return mUnityServiceManager->canQueryClose();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment