Ignore 'content-type missing' Qt warning.
This commit is contained in:
parent
283cedff15
commit
336bbc370e
@ -264,7 +264,12 @@ def qt_message_handler(msg_type, context, msg):
|
|||||||
# Not much information about this, but it seems harmless
|
# 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
|
# Sometimes indicates missing text, but most of the time harmless
|
||||||
r'load glyph failed err=\S+ face=\S+, glyph=\S+')
|
r'load glyph failed err=\S+ face=\S+, glyph=\S+',
|
||||||
|
# Harmless, see https://bugreports.qt-project.org/browse/QTBUG-42479
|
||||||
|
'content-type missing in HTTP POST, defaulting to '
|
||||||
|
'application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() '
|
||||||
|
'to fix this problem.'
|
||||||
|
)
|
||||||
if any(re.match(pattern, msg.strip()) for pattern in suppressed_msgs):
|
if any(re.match(pattern, msg.strip()) for pattern in suppressed_msgs):
|
||||||
level = logging.DEBUG
|
level = logging.DEBUG
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user