mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
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.
This commit is contained in:
parent
57e72a12fd
commit
fba9900775
@ -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…
Reference in New Issue
Block a user