]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
allow to change the order of columns in the details view
[dolphin.git] / src / dolphinmainwindow.cpp
index 6443494ef3c6fd0364e95a9927fbbd3479b998df..7e841cef396431a59381652a209d87915f722027 100644 (file)
@@ -430,7 +430,7 @@ void DolphinMainWindow::closeEvent(QCloseEvent* event)
     // by the session manager because the session is closed
     bool closedByUser = true;
     DolphinApplication *application = qobject_cast<DolphinApplication*>(qApp);
-    if (application && application->closedBySessionManager()) {
+    if (application && application->sessionSaving()) {
         closedByUser = false;
     }