mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
added fontfix for osx
This commit is contained in:
parent
96bff490a3
commit
c6e294a130
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue