diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index 258b924b4..4ff0eef36 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -84,6 +84,15 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con type = QtWarningMsg; } +#if defined(Q_OS_MAC) + // Try hide very annoying, Qt related, warnings in Mac OS X + // Remove after Qt fix will be released + if ((type == QtWarningMsg) && msg.contains("QNSView")) + { + type = QtDebugMsg; + } +#endif + // this is another one that doesn't make sense as just a debug message. pretty serious // sign of a problem // http://www.developer.nokia.com/Community/Wiki/QPainter::begin:Paint_device_returned_engine_%3D%3D_0_(Known_Issue) diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index d57f0b52a..f53a638d9 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -79,6 +79,15 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con type = QtWarningMsg; } +#if defined(Q_OS_MAC) + // Try hide very annoying, Qt related, warnings in Mac OS X + // Remove after Qt fix will be released + if ((type == QtWarningMsg) && msg.contains("QNSView")) + { + type = QtDebugMsg; + } +#endif + // this is another one that doesn't make sense as just a debug message. pretty serious // sign of a problem // http://www.developer.nokia.com/Community/Wiki/QPainter::begin:Paint_device_returned_engine_%3D%3D_0_(Known_Issue)