Remove logging hack now that Qt 5.12.2 fixes the bug
This commit is contained in:
parent
9288cfa684
commit
c540bec824
1 changed files with 0 additions and 8 deletions
|
|
@ -137,14 +137,6 @@ void qtLogToDiskHandler(QtMsgType type, const QMessageLogContext&, const QString
|
||||||
break;
|
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());
|
QTime logTime = QTime::fromMSecsSinceStartOfDay(s_LoggerTime.elapsed());
|
||||||
QString txt = QString("%1 - Qt %2: %3\n").arg(logTime.toString()).arg(typeTxt).arg(msg);
|
QString txt = QString("%1 - Qt %2: %3\n").arg(logTime.toString()).arg(typeTxt).arg(msg);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue