Hide Qt's warning related to the bug 'Assertion when reading an icns file'.
--HG-- branch : develop
This commit is contained in:
parent
613fa5d6da
commit
95bb0c054d
|
@ -87,6 +87,14 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
|
||||||
{
|
{
|
||||||
type = QtDebugMsg;
|
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
|
#endif
|
||||||
|
|
||||||
// this is another one that doesn't make sense as just a debug message. pretty serious
|
// this is another one that doesn't make sense as just a debug message. pretty serious
|
||||||
|
|
Loading…
Reference in New Issue
Block a user