Fixed search string for error "setGeometry: Unable to set geometry".

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-07-20 11:11:35 +03:00
parent 817a5d5f56
commit dc275dce14
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
#if !defined(V_NO_ASSERT) #if !defined(V_NO_ASSERT)
// I have decided to hide this annoing message for release builds. // I have decided to hide this annoing message for release builds.
if ((type == QtWarningMsg) && msg.contains("setGeometryDp: Unable to set geometry")) if ((type == QtWarningMsg) && msg.contains("setGeometry: Unable to set geometry"))
{ {
type = QtDebugMsg; type = QtDebugMsg;
} }

View File

@ -82,7 +82,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
#if !defined(V_NO_ASSERT) #if !defined(V_NO_ASSERT)
// I have decided to hide this annoing message for release builds. // I have decided to hide this annoing message for release builds.
if ((type == QtWarningMsg) && msg.contains("setGeometryDp: Unable to set geometry")) if ((type == QtWarningMsg) && msg.contains("setGeometry: Unable to set geometry"))
{ {
type = QtDebugMsg; type = QtDebugMsg;
} }