mirror of https://github.com/KDE/kasts.git
Set correct icon fallback search path
This commit is contained in:
parent
a67e3f86ca
commit
db9fc0730b
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue