Skip to content

Commit

Permalink
Ignore QSslSocket warnings, too much noise and not enough signal
Browse files Browse the repository at this point in the history
  • Loading branch information
jklontz committed Oct 10, 2017
1 parent 3352f47 commit aec0faf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openbr/openbr_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aec0faf

Please sign in to comment.