diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-12-09 12:38:56 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-12-09 12:38:56 +0300 |
commit | 7b2ae76ab43acd2ecd3b9599a36d68299fcb7b7c (patch) | |
tree | 3ddf52657a5fd1a727dd3ffb767ccc0141d447f1 /src/gui/guiutility.cpp | |
parent | 470bf76e6362a4379e6548e466971e3a2e532ccd (diff) | |
parent | b7e25e3f26785c3e3667471539234e5d4bafef9f (diff) |
Merge remote-tracking branch 'origin/2.10'
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 39077a0b7..e4f6ee230 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); |