From 59134787bea1dbcc20f504152ec32a1f84056689 Mon Sep 17 00:00:00 2001 From: Marko Toplak Date: Tue, 19 Nov 2024 14:46:34 +0100 Subject: [PATCH] Apply QTBUG-58610 fix only on Windows --- orangecanvas/application/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orangecanvas/application/application.py b/orangecanvas/application/application.py index 688ad6bb..e114c32c 100644 --- a/orangecanvas/application/application.py +++ b/orangecanvas/application/application.py @@ -151,7 +151,7 @@ def __init__(self, argv): sh.setShowShortcutsInContextMenus(True) if QT_VERSION_INFO < (5, 15): # QTBUG-61707 macos_set_nswindow_tabbing(False) - if QT_VERSION_INFO < (6, 0): # QTBUG-58610 + if QT_VERSION_INFO < (6, 0) and sys.platform == "win32": # QTBUG-58610 # https://github.com/musescore/MuseScore/pull/5820 QApplication.setFont(QApplication.font("QMessageBox")) self.configureStyle()