Hide Qt's warning related to the bug 'Assertion when reading an icns file'.
(grafted from f3c81ec3f1a0a9a5cc886c44a0bcd7f913f9b34b) --HG-- branch : release
This commit is contained in:
parent
1f1800f8df
commit
57e2e02aed
|
@ -87,6 +87,14 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
|
|||
{
|
||||
type = QtDebugMsg;
|
||||
}
|
||||
|
||||
// Hide Qt bug 'Assertion when reading an icns file'
|
||||
// https://bugreports.qt.io/browse/QTBUG-45537
|
||||
// Remove after Qt fix will be released
|
||||
if ((type == QtWarningMsg) && msg.contains("QICNSHandler::read()"))
|
||||
{
|
||||
type = QtDebugMsg;
|
||||
}
|
||||
#endif
|
||||
|
||||
// this is another one that doesn't make sense as just a debug message. pretty serious
|
||||
|
|
Loading…
Reference in New Issue
Block a user