From aec0faf04984cf784410f0e4bbbd89fe42852140 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 10 Oct 2017 13:50:38 -0600 Subject: [PATCH] Ignore QSslSocket warnings, too much noise and not enough signal --- openbr/openbr_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 11e96cb..590b2ec 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1421,6 +1421,10 @@ void br::Context::messageHandler(QtMsgType type, const QMessageLogContext &conte if (Globals->quiet) return; txt = QString("%1\n").arg(msg); } else { + // Ignore QSslSocket warnings, too much noise and not enough signal + if ((type == QtWarningMsg) && msg.contains("QSslSocket")) + return; + switch (type) { case QtWarningMsg: txt = QString("Warning: %1\n" ).arg(msg); break; case QtCriticalMsg: txt = QString("Critical: %1\n").arg(msg); break; -- libgit2 0.21.4