Commit 08c0a733 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Icons KCM] Construct QUrl from local file

CHANGELOG: Fixed bug that prevented icon themes from being uninstalled

BUG: 388479
FIXED-IN: 5.12.0

Differential Revision: https://phabricator.kde.org/D9651
parent 498ae5df
......@@ -355,7 +355,7 @@ void IconThemesConfig::removeSelectedTheme()
// ignore that dir.
unlink(QFile::encodeName(icontheme.dir()+"/index.theme").data());
unlink(QFile::encodeName(icontheme.dir()+"/index.desktop").data());
KIO::del(QUrl( icontheme.dir() ));
KIO::del(QUrl::fromLocalFile( icontheme.dir() ));
KIconLoader::global()->newIconLoader();
......
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