Commit e5f77f2a authored by Laurent Montel's avatar Laurent Montel 😁

Use installedTheme

parent 07aedf7e
......@@ -87,7 +87,7 @@ int main(int argc, char **argv)
for (const QString &installedTheme: installed) {
KAuth::Action action(QStringLiteral("org.kde.kcontrol.kcmsddm.uninstalltheme"));
action.setHelperId("org.kde.kcontrol.kcmsddm");
action.addArgument(QStringLiteral("filePath"), installed);
action.addArgument(QStringLiteral("filePath"), installedTheme);
KAuth::ExecuteJob *job = action.execute();
job->exec();
}
......
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