1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #1091 from ZachThibeau/master

added fontfix for osx. Closes #1017
This commit is contained in:
sledgehammer999 2013-11-11 13:38:45 -08:00
commit d1921933f4

View File

@ -187,6 +187,14 @@ void sigabrtHandler(int) {
// Main
int main(int argc, char *argv[]) {
#ifdef Q_OS_MACX
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
// Create Application
QString uid = misc::getUserIDString();
#ifdef DISABLE_GUI