aboutsummaryrefslogtreecommitdiff
path: root/src/qt/winshutdownmonitor.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-06-21 20:22:13 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-06-21 20:22:13 +0300
commita2aabfb749198bce896c9e597082acd67d3b863e (patch)
treef615c6d442e0e7e30a8f66ba043760c0882c8882 /src/qt/winshutdownmonitor.cpp
parent32e94538185b61fe64bd16de2459e763ec46b4da (diff)
Use qInfo() if no error occurs
qWarning() is used to report warnings and recoverable errors in your application. qInfo() is used for informational messages (since Qt 5.5).
Diffstat (limited to 'src/qt/winshutdownmonitor.cpp')
-rw-r--r--src/qt/winshutdownmonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/winshutdownmonitor.cpp b/src/qt/winshutdownmonitor.cpp
index 08cae76add..b177b22b3f 100644
--- a/src/qt/winshutdownmonitor.cpp
+++ b/src/qt/winshutdownmonitor.cpp
@@ -63,7 +63,7 @@ void WinShutdownMonitor::registerShutdownBlockReason(const QString& strReason, c
}
if (shutdownBRCreate(mainWinId, strReason.toStdWString().c_str()))
- qWarning() << "registerShutdownBlockReason: Successfully registered: " + strReason;
+ qInfo() << "registerShutdownBlockReason: Successfully registered: " + strReason;
else
qWarning() << "registerShutdownBlockReason: Failed to register: " + strReason;
}