mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Revert "Remove workaround". Required since we also support Qt4 in this branch.
This reverts commit 2ba3104337
.
This commit is contained in:
parent
971c340b53
commit
dc315c080b
1 changed files with 8 additions and 0 deletions
|
@ -104,6 +104,14 @@ Application::Application(const QString &id, int &argc, char **argv)
|
|||
SettingsStorage::initInstance();
|
||||
Preferences::initInstance();
|
||||
|
||||
#if defined(Q_OS_MACX) && !defined(DISABLE_GUI)
|
||||
if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_8) {
|
||||
// fix Mac OS X 10.9 (mavericks) font issue
|
||||
// https://bugreports.qt-project.org/browse/QTBUG-32789
|
||||
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
|
||||
}
|
||||
#endif
|
||||
|
||||
setApplicationName("qBittorrent");
|
||||
initializeTranslation();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue