Skip to content

Commit 8a08552

Browse files
authored
Merge pull request #315 from markotoplak/limited-301
[FIX] Fix bold fonts on Qt5 on Macs (apply QTBUG-58610 fix only on Windows)
2 parents cc3eacb + 9015f52 commit 8a08552

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

i18n/si/msgs.jaml

+1
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ application/application.py:
365365
-style: false
366366
styleHints: false
367367
setShowShortcutsInContextMenus: false
368+
win32: false
368369
QMessageBox: false
369370
def `argumentParser`:
370371
-style: false

orangecanvas/application/application.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def __init__(self, argv):
151151
sh.setShowShortcutsInContextMenus(True)
152152
if QT_VERSION_INFO < (5, 15): # QTBUG-61707
153153
macos_set_nswindow_tabbing(False)
154-
if QT_VERSION_INFO < (6, 0): # QTBUG-58610
154+
if QT_VERSION_INFO < (6, 0) and sys.platform == "win32": # QTBUG-58610
155155
# https://github.com/musescore/MuseScore/pull/5820
156156
QApplication.setFont(QApplication.font("QMessageBox"))
157157
self.configureStyle()

0 commit comments

Comments
 (0)