|
|
@ -126,14 +126,6 @@ Application::Application(const QString &id, int &argc, char **argv) |
|
|
|
Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort); |
|
|
|
Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#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"); |
|
|
|
setApplicationName("qBittorrent"); |
|
|
|
initializeTranslation(); |
|
|
|
initializeTranslation(); |
|
|
|
|
|
|
|
|
|
|
|