Hide SetProcessDpiAwareness Qt warning.
This shows up on AppVeyor CI for some reason. See https://bugreports.qt.io/browse/QTBUG-38993
This commit is contained in:
parent
b57027f800
commit
67e895b6c7
@ -285,6 +285,8 @@ def qt_message_handler(msg_type, context, msg):
|
|||||||
'QXcbWindow: Unhandled client message: "_E_',
|
'QXcbWindow: Unhandled client message: "_E_',
|
||||||
'QXcbWindow: Unhandled client message: "_ECORE_',
|
'QXcbWindow: Unhandled client message: "_ECORE_',
|
||||||
'QXcbWindow: Unhandled client message: "_GTK_',
|
'QXcbWindow: Unhandled client message: "_GTK_',
|
||||||
|
# Happens on AppVeyor CI
|
||||||
|
'SetProcessDpiAwareness failed:',
|
||||||
)
|
)
|
||||||
if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs):
|
if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs):
|
||||||
level = logging.DEBUG
|
level = logging.DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user