Set correct icon fallback search path

This commit is contained in:
Bart De Vries 2024-03-27 16:47:44 +01:00
parent a67e3f86ca
commit db9fc0730b
1 changed files with 2 additions and 2 deletions

View File

@ -55,6 +55,8 @@ int main(int argc, char *argv[])
qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "1");
}
QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << QStringLiteral(":icons"));
#ifdef Q_OS_ANDROID
QGuiApplication app(argc, argv);
qInstallMessageHandler(myMessageHandler);
@ -83,8 +85,6 @@ int main(int argc, char *argv[])
BreezeIcons::initIcons();
#endif
QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << QStringLiteral(":custom-icons"));
QCoreApplication::setOrganizationName(QStringLiteral("KDE"));
QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
QCoreApplication::setApplicationName(QStringLiteral("Kasts"));