mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-01 05:13:58 +00:00
Fixed explicit monospace font declaratipon on macOS
This commit is contained in:
@@ -227,8 +227,6 @@ class Tagger(QtWidgets.QApplication):
|
||||
if IS_MACOS:
|
||||
# On macOS it is not common that the global menu shows icons
|
||||
self.setAttribute(QtCore.Qt.AA_DontShowIconsInMenus)
|
||||
# Ensure monospace font works on macOS
|
||||
QtGui.QFont.insertSubstitution('Monospace', 'Menlo')
|
||||
|
||||
# Setup logging
|
||||
log.debug("Starting Picard from %r", os.path.abspath(__file__))
|
||||
|
||||
@@ -42,7 +42,7 @@ from picard.util import restore_method
|
||||
|
||||
if IS_MACOS:
|
||||
FONT_FAMILY_MONOSPACE = 'Menlo'
|
||||
if IS_WIN:
|
||||
elif IS_WIN:
|
||||
FONT_FAMILY_MONOSPACE = 'Courier'
|
||||
else:
|
||||
FONT_FAMILY_MONOSPACE = 'Monospace'
|
||||
|
||||
Reference in New Issue
Block a user