From d8874c844f5c0a05ea5878caecfaefeb6340c870 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Sep 2016 21:33:33 +0300 Subject: [PATCH] Suppress all messages that contain string "Error receiving trust for a CA certificate". ref #568. --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 4337f0899..cad65dc98 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -110,7 +110,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con } // See issue #568 - if ((type == QtWarningMsg) && msg.contains(QStringLiteral("Error receiving trust for a CA certificate"))) + if (msg.contains(QStringLiteral("Error receiving trust for a CA certificate"))) { type = QtDebugMsg; } diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index c47cd4f9f..8c9130e04 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -105,7 +105,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con } // See issue #568 - if ((type == QtWarningMsg) && msg.contains(QStringLiteral("Error receiving trust for a CA certificate"))) + if (msg.contains(QStringLiteral("Error receiving trust for a CA certificate"))) { type = QtDebugMsg; }