Browse Source

added fontfix for osx

adaptive-webui-19844
Zach Thibeau 11 years ago
parent
commit
2a7aa98afd
  1. 8
      src/main.cpp

8
src/main.cpp

@ -187,6 +187,14 @@ void sigabrtHandler(int) { @@ -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…
Cancel
Save