Skip to content

Commit

Permalink
Fixed build with Qt versions < 5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Oct 28, 2023
1 parent 2374a7d commit b27981f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GUI/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ App::App(int &argc, char **argv) : QApplication(argc, argv)
loadPCSs();
Waypoint::loadSymbolIcons(ProgramPaths::symbolsDir());

#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
QIcon::setFallbackThemeName(APP_NAME);
#endif // QT 5.12

_gui = new GUI();

Expand Down

0 comments on commit b27981f

Please sign in to comment.