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-11-17 17:11:02 +0300
commitcfb5ed05bebc186c009cdffd6f71c71f0a1cfb08 (patch)
treed0084cb1167e986dbe2ec2da781447773a7deb69
parente66e9de56b26b3abea1609a25cd72bfbd52af6b1 (diff)
Print message before shutting down
(cherry picked from commit 45c40d5783590e0f24facdc8798e9065fb2e5a4b)
-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;