Commit aec0faf04984cf784410f0e4bbbd89fe42852140
1 parent
3352f47e
Ignore QSslSocket warnings, too much noise and not enough signal
Showing
1 changed file
with
4 additions
and
0 deletions
openbr/openbr_plugin.cpp
| @@ -1421,6 +1421,10 @@ void br::Context::messageHandler(QtMsgType type, const QMessageLogContext &conte | @@ -1421,6 +1421,10 @@ void br::Context::messageHandler(QtMsgType type, const QMessageLogContext &conte | ||
| 1421 | if (Globals->quiet) return; | 1421 | if (Globals->quiet) return; |
| 1422 | txt = QString("%1\n").arg(msg); | 1422 | txt = QString("%1\n").arg(msg); |
| 1423 | } else { | 1423 | } else { |
| 1424 | + // Ignore QSslSocket warnings, too much noise and not enough signal | ||
| 1425 | + if ((type == QtWarningMsg) && msg.contains("QSslSocket")) | ||
| 1426 | + return; | ||
| 1427 | + | ||
| 1424 | switch (type) { | 1428 | switch (type) { |
| 1425 | case QtWarningMsg: txt = QString("Warning: %1\n" ).arg(msg); break; | 1429 | case QtWarningMsg: txt = QString("Warning: %1\n" ).arg(msg); break; |
| 1426 | case QtCriticalMsg: txt = QString("Critical: %1\n").arg(msg); break; | 1430 | case QtCriticalMsg: txt = QString("Critical: %1\n").arg(msg); break; |