From cfb5ed05bebc186c009cdffd6f71c71f0a1cfb08 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Thu, 14 Oct 2021 09:50:00 +0200 Subject: Print message before shutting down (cherry picked from commit 45c40d5783590e0f24facdc8798e9065fb2e5a4b) --- src/gui/settingsdialog.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3