Commit 5b98466e authored by Benjamin Port's avatar Benjamin Port
Browse files

KCM Icons: correctly highlight themes installed from Discover

BUG: 415129

Test Plan: Try installing using plasma-changeicons executable (used by discover) and from discover directly

Reviewers: #plasma, ngraham, apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26142
parent 097ad69d
...@@ -32,7 +32,7 @@ int main(int argc, char** argv) ...@@ -32,7 +32,7 @@ int main(int argc, char** argv)
QString themeName = app.arguments().last(); QString themeName = app.arguments().last();
int idx = themeName.lastIndexOf('/'); int idx = themeName.lastIndexOf('/');
if (idx>=0) { if (idx>=0) {
themeName = themeName.mid(idx); themeName = themeName.mid(idx + 1);
} }
IconsSettings settings; IconsSettings settings;
......
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