undoing font fix due new Qt dependencies
parent
2331b16f54
commit
15a872eae0
|
@ -217,18 +217,6 @@ int main(int argc, char *argv[]) {
|
||||||
qRegisterMetaType<ELogLevel>("ELogLevel");
|
qRegisterMetaType<ELogLevel>("ELogLevel");
|
||||||
qRegisterMetaType<fs::path>("fs::path");
|
qRegisterMetaType<fs::path>("fs::path");
|
||||||
|
|
||||||
#if defined(__OSX__)
|
|
||||||
SInt32 versMaj, versMin;
|
|
||||||
Gestalt(gestaltSystemVersionMajor, &versMaj);
|
|
||||||
Gestalt(gestaltSystemVersionMinor, &versMin);
|
|
||||||
|
|
||||||
if (versMaj*100+versMin > 1008) {
|
|
||||||
// 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
|
|
||||||
|
|
||||||
MitsubaApplication app(argc, argv);
|
MitsubaApplication app(argc, argv);
|
||||||
try {
|
try {
|
||||||
QFile stylesheet(":/resources/stylesheet.css");
|
QFile stylesheet(":/resources/stylesheet.css");
|
||||||
|
|
Loading…
Reference in New Issue