Bedre sync

This commit is contained in:
2026-04-13 14:22:27 +02:00
parent e86173f7ec
commit cb204baa50
7 changed files with 53 additions and 12 deletions

View File

@@ -25,8 +25,12 @@ def main():
if _sys.platform == "win32":
from PyQt6.QtCore import qInstallMessageHandler, QtMsgType
def _qt_msg_handler(msg_type, context, message):
if "registerTimer" in message or "Unhandled scheme" in message:
return # ignorer
if any(x in message for x in [
"registerTimer", "Unhandled scheme",
"Point size <= 0", "setPointSize",
"QFont::",
]):
return
print(message)
qInstallMessageHandler(_qt_msg_handler)