Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-10-14 10:50:00 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2021-10-14 10:51:15 +0300
commit45c40d5783590e0f24facdc8798e9065fb2e5a4b (patch)
treecd535560d277e821343e28c220645fca1949e303
parentfd4cc2387968338cb56ad898ea2357824a7eaa1f (diff)
Print message before shutting down
-rw-r--r--src/gui/settingsdialog.cpp1
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;