Fix debug output with Qt 5.4

Qt 5.4 outputs a malformed "QSslSocket: cannot resolve SSLv2_client_method ("
message on first SSL connection and it breaks all terminal output.
remotes/origin/falkon
David Rosca 11 years ago
parent 57e72a12fd
commit fba9900775
  1. 3
      src/main/main.cpp

@ -127,6 +127,9 @@ void msgHandler(QtMsgType type, const char* msg)
#else
void msgHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
if (msg.startsWith(QL1S("QSslSocket: cannot resolve SSLv2_")))
return;
QByteArray localMsg = msg.toLocal8Bit();
switch (type) {
case QtDebugMsg:

Loading…
Cancel
Save