aboutsummaryrefslogtreecommitdiff
path: root/src/qt/winshutdownmonitor.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-01 15:21:17 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-01 15:21:17 +0200
commit33fdd99288fd257d6b5a3797a0a68aff649a3a71 (patch)
treef9bff170335fee185c37e40ea76eb59832f3f839 /src/qt/winshutdownmonitor.cpp
parentd95ba75825d3b417d03cd2cce6bb944d5a679040 (diff)
qt: Change serious messages from qDebug to qWarning
By changing the logging stream for warnings from qDebug to qWarning, these will always be logged to debug.log.
Diffstat (limited to 'src/qt/winshutdownmonitor.cpp')
-rw-r--r--src/qt/winshutdownmonitor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/winshutdownmonitor.cpp b/src/qt/winshutdownmonitor.cpp
index b7526f0ae4..f8f9bf45b3 100644
--- a/src/qt/winshutdownmonitor.cpp
+++ b/src/qt/winshutdownmonitor.cpp
@@ -45,13 +45,13 @@ void WinShutdownMonitor::registerShutdownBlockReason(const QString& strReason, c
typedef BOOL (WINAPI *PSHUTDOWNBRCREATE)(HWND, LPCWSTR);
PSHUTDOWNBRCREATE shutdownBRCreate = (PSHUTDOWNBRCREATE)GetProcAddress(GetModuleHandleA("User32.dll"), "ShutdownBlockReasonCreate");
if (shutdownBRCreate == NULL) {
- qDebug() << "registerShutdownBlockReason : GetProcAddress for ShutdownBlockReasonCreate failed";
+ qWarning() << "registerShutdownBlockReason : GetProcAddress for ShutdownBlockReasonCreate failed";
return;
}
if (shutdownBRCreate(mainWinId, strReason.toStdWString().c_str()))
- qDebug() << "registerShutdownBlockReason : Successfully registered: " + strReason;
+ qWarning() << "registerShutdownBlockReason : Successfully registered: " + strReason;
else
- qDebug() << "registerShutdownBlockReason : Failed to register: " + strReason;
+ qWarning() << "registerShutdownBlockReason : Failed to register: " + strReason;
}
#endif