mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56: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
|
#else
|
||||||
void msgHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
void msgHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
||||||
{
|
{
|
||||||
|
if (msg.startsWith(QL1S("QSslSocket: cannot resolve SSLv2_")))
|
||||||
|
return;
|
||||||
|
|
||||||
QByteArray localMsg = msg.toLocal8Bit();
|
QByteArray localMsg = msg.toLocal8Bit();
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case QtDebugMsg:
|
case QtDebugMsg:
|
||||||
|
Loading…
Reference in New Issue
Block a user