From dc275dce147308cefcc90bfb3ec48e2ab5071dc2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 20 Jul 2016 11:11:35 +0300 Subject: [PATCH] Fixed search string for error "setGeometry: Unable to set geometry". --HG-- branch : develop --- src/app/tape/mapplication.cpp | 2 +- src/app/valentina/core/vapplication.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index 76eaea126..a64a77ea9 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -86,7 +86,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con #if !defined(V_NO_ASSERT) // 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; } diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index bd5ad39ad..8f611d7e1 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -82,7 +82,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con #if !defined(V_NO_ASSERT) // 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; }