Merge branch 'Applications/15.12'

This commit is contained in:
Wolfgang Bauer 2016-01-28 21:10:05 +01:00
commit 08819ca3b1

View file

@ -347,7 +347,7 @@ void DolphinMainWindow::closeEvent(QCloseEvent* event)
// Find out if Dolphin is closed directly by the user or // Find out if Dolphin is closed directly by the user or
// by the session manager because the session is closed // by the session manager because the session is closed
bool closedByUser = true; bool closedByUser = true;
if (qApp->isSessionRestored()) { if (qApp->isSavingSession()) {
closedByUser = false; closedByUser = false;
} }