Hide 'load glyph failed' Qt warning.
This commit is contained in:
parent
ecbebba9e9
commit
3622f35865
@ -260,9 +260,11 @@ def qt_message_handler(msg_type, context, msg):
|
||||
# bug on some pages.
|
||||
# https://bugreports.qt-project.org/browse/QTBUG-30298
|
||||
"QNetworkReplyImplPrivate::error: Internal problem, this method must "
|
||||
"only be called once."
|
||||
"only be called once.",
|
||||
# Not much information about this, but it seems harmless
|
||||
'QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"')
|
||||
'QXcbWindow: Unhandled client message: "_GTK_LOAD_ICONTHEMES"',
|
||||
# Sometimes indicates missing text, but most of the time harmless
|
||||
'load glyph failed err=\S+ face=\S+, glyph=\S+')
|
||||
if any(re.match(pattern, msg.strip()) for pattern in suppressed_msgs):
|
||||
level = logging.DEBUG
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user