Skip to content

Commit

Permalink
Merge pull request #315 from markotoplak/limited-301
Browse files Browse the repository at this point in the history
[FIX] Fix bold fonts on Qt5 on Macs (apply QTBUG-58610 fix only on Windows)
  • Loading branch information
janezd authored Nov 29, 2024
2 parents cc3eacb + 9015f52 commit 8a08552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions i18n/si/msgs.jaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ application/application.py:
-style: false
styleHints: false
setShowShortcutsInContextMenus: false
win32: false
QMessageBox: false
def `argumentParser`:
-style: false
Expand Down
2 changes: 1 addition & 1 deletion orangecanvas/application/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8a08552

Please sign in to comment.