mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed build with Qt versions < 5.12
This commit is contained in:
parent
2374a7d1dd
commit
b27981fe0f
@ -70,7 +70,9 @@ App::App(int &argc, char **argv) : QApplication(argc, argv)
|
|||||||
loadPCSs();
|
loadPCSs();
|
||||||
Waypoint::loadSymbolIcons(ProgramPaths::symbolsDir());
|
Waypoint::loadSymbolIcons(ProgramPaths::symbolsDir());
|
||||||
|
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
|
||||||
QIcon::setFallbackThemeName(APP_NAME);
|
QIcon::setFallbackThemeName(APP_NAME);
|
||||||
|
#endif // QT 5.12
|
||||||
|
|
||||||
_gui = new GUI();
|
_gui = new GUI();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user