mirror of
https://github.com/denizsafak/abogen.git
synced 2026-09-20 11:40:57 +02:00
fix: suppress harmless Qt portal registration warning on Linux
This commit is contained in:
@@ -120,6 +120,8 @@ def qt_message_handler(mode, context, message):
|
||||
return # Suppress this specific message
|
||||
if "setGrabPopup called with a parent, QtWaylandClient" in message:
|
||||
return
|
||||
if "Failed to register with host portal" in message:
|
||||
return
|
||||
|
||||
if mode == QtMsgType.QtWarningMsg:
|
||||
print(f"Qt Warning: {message}")
|
||||
|
||||
Reference in New Issue
Block a user