Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
KStars
Commits
11440de5
Commit
11440de5
authored
Jan 28, 2018
by
Jasem Mutlaq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add windows theme search path
parent
263ec0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
kstars/kstarsinit.cpp
kstars/kstarsinit.cpp
+1
-3
No files found.
kstars/kstarsinit.cpp
View file @
11440de5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment