1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-07 10:51:45 +00:00

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
// by the session manager because the session is closed
bool closedByUser = true;
if (qApp->isSessionRestored()) {
if (qApp->isSavingSession()) {
closedByUser = false;
}