Commit 11440de5 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Add windows theme search path

parent 263ec0fc
......@@ -140,9 +140,7 @@ void KStars::initActions()
#ifdef Q_OS_OSX
themeSearchPaths = themeSearchPaths << QDir(QCoreApplication::applicationDirPath() + "/../Resources/icons").absolutePath();
#elif defined(Q_OS_WIN)
//TODO Find out the search path on Windows
//Drop icon dependency in Craft and manually
themeSearchPaths = themeSearchPaths;
themeSearchPaths = themeSearchPaths << QStandardPaths::locate(QStandardPaths::GenericDataLocation, "icons", QStandardPaths::LocateDirectory);
#else
//TODO On Linux on non-KDE Distros, find out if the themes are installed or not and perhaps warn the user
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment