diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-10-14 10:50:00 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-10-14 10:51:15 +0300 |
commit | 45c40d5783590e0f24facdc8798e9065fb2e5a4b (patch) | |
tree | cd535560d277e821343e28c220645fca1949e303 | |
parent | fd4cc2387968338cb56ad898ea2357824a7eaa1f (diff) |
Print message before shutting down
-rw-r--r-- | src/gui/settingsdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 3aad0f75c..1b72e2c18 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -336,6 +336,7 @@ bool SettingsDialog::nativeEvent(const QByteArray &eventType, void *message, lon // so they never receive WM_ENDSESSION // Capture the event and go down in style if (msg->message == WM_QUERYENDSESSION || msg->message == WM_ENDSESSION) { + qCInfo(lcApplication) << "Shutting down" << *msg; QTimer::singleShot(0, ocApp(), Application::quit); } return false; |