1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-13 05:41:17 +00:00

added fontfix for osx

This commit is contained in:
Zach Thibeau 2013-11-11 03:38:20 -05:00
parent dac46e02c3
commit 2a7aa98afd

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