Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fix bold fonts on Qt5 on Macs (apply QTBUG-58610 fix only on Windows) #315

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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