From b27981fe0f7deb8f97fe68ef334f47fee9e86e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 28 Oct 2023 14:20:06 +0200 Subject: [PATCH] Fixed build with Qt versions < 5.12 --- src/GUI/app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/app.cpp b/src/GUI/app.cpp index d056cd72..94f0fe0a 100644 --- a/src/GUI/app.cpp +++ b/src/GUI/app.cpp @@ -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();