mirror of
https://github.com/urbit/shrub.git
synced 2025-01-05 11:09:30 +03:00
12 lines
422 B
Diff
12 lines
422 B
Diff
|
--- qt-5.8.0-orig/src/gui/text/qplatformfontdatabase.cpp
|
||
|
+++ qt-5.8.0/src/gui/text/qplatformfontdatabase.cpp
|
||
|
@@ -396,7 +396,7 @@
|
||
|
{
|
||
|
QString fontpath = QString::fromLocal8Bit(qgetenv("QT_QPA_FONTDIR"));
|
||
|
if (fontpath.isEmpty())
|
||
|
- fontpath = QLibraryInfo::location(QLibraryInfo::LibrariesPath) + QLatin1String("/fonts");
|
||
|
+ fontpath = QCoreApplication::applicationDirPath();
|
||
|
|
||
|
return fontpath;
|
||
|
}
|