mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
ShareDialog: Add ipload to www.cyclinganalytics.com
This commit is contained in:
15
src/main.cpp
15
src/main.cpp
@@ -36,6 +36,21 @@ main(int argc, char *argv[])
|
||||
XInitThreads();
|
||||
#endif
|
||||
|
||||
#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
|
||||
qDebug() << "insertSubstitution .Lucida Grande UI for Lucida Grande";
|
||||
//QStringList list;
|
||||
//list.append("Lucida Grande");
|
||||
//list.append("LucidaGrande");
|
||||
//QFont::insertSubstitutions(".Lucida Grande UI", list);
|
||||
//QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
|
||||
QFont::insertSubstitution("LucidaGrande", "Lucida Grande");
|
||||
}
|
||||
#endif
|
||||
|
||||
application = new QApplication(argc, argv);
|
||||
|
||||
QFont font;
|
||||
|
||||
Reference in New Issue
Block a user