Restore KDE4 behavior - do not ask for confirmation on logout

Thanks Wolfgnag Bauer (wbauer) for patch

REVIEW: 127128
This commit is contained in:
Kurt Hindenburg
2016-03-05 12:10:21 -05:00
parent fc674750e5
commit fa5b25fced

View File

@@ -531,7 +531,7 @@ bool MainWindow::queryClose()
// Do not ask for confirmation during log out and power off
// TODO: rework the dealing of this case to make it has its own confirmation
// dialog.
if (kapp->sessionSaving()) {
if (qApp->isSavingSession()) {
return true;
}