diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-12-03 11:58:13 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-12-03 11:58:59 +0300 |
commit | 55a027e48a97e8706f540306cdff83191fe0201b (patch) | |
tree | 2cc77a054c1c8082c184430a68df7394fbfa59a6 /src/gui/guiutility.cpp | |
parent | 1bc47f17c72aa59f619af13cd8d32c04eb4ece85 (diff) |
Add log message
Diffstat (limited to 'src/gui/guiutility.cpp')
-rw-r--r-- | src/gui/guiutility.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/guiutility.cpp b/src/gui/guiutility.cpp index 62c3d52cc..00a9e2e93 100644 --- a/src/gui/guiutility.cpp +++ b/src/gui/guiutility.cpp @@ -81,6 +81,7 @@ void startShutdownWatcher() if (lParam == ENDSESSION_LOGOFF) { // block the windows shutdown until we are done const QString description = QApplication::translate("Utility", "Shutting down %1").arg(Theme::instance()->appNameGUI()); + qCDebug(OCC::lcUtility) << "Block shutdown until we are ready" << description; OC_ASSERT(ShutdownBlockReasonCreate(hwnd, reinterpret_cast<const wchar_t *>(description.utf16()))); } WaitForSingleObject(watchWMCtx.windowMessageWatcherEvent, INFINITE); |