From c540bec824bc6fbe5abdf7bd84cedb3d350f3d42 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 16 Mar 2019 16:59:49 -0700 Subject: [PATCH] Remove logging hack now that Qt 5.12.2 fixes the bug --- app/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index c6f71b1e..8620e6d5 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -137,14 +137,6 @@ void qtLogToDiskHandler(QtMsgType type, const QMessageLogContext&, const QString break; } - // HACK: Avoid printing this internal Qt warning which seems to print every time we - // start our event loop for the QNetworkReply. I have found this warning in many - // unrelated bug reports, but none actually tackle this warning itself. It seems to be - // new in Qt 5.12. - if (msg.startsWith("QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once")) { - return; - } - QTime logTime = QTime::fromMSecsSinceStartOfDay(s_LoggerTime.elapsed()); QString txt = QString("%1 - Qt %2: %3\n").arg(logTime.toString()).arg(typeTxt).arg(msg);