diff --git a/sddmauthhelper.cpp b/sddmauthhelper.cpp --- a/sddmauthhelper.cpp +++ b/sddmauthhelper.cpp @@ -169,9 +169,11 @@ return ActionReply::HelperErrorReply(); } + QDir sddmCacheLocation(sddmHomeDirPath + QStringLiteral("/.cache")); QDir sddmConfigLocation(sddmHomeDirPath + QStringLiteral("/.config")); QDir fontconfigDir(args[QStringLiteral("sddmUserConfig")].toString() + QStringLiteral("/fontconfig")); + sddmCacheLocation.removeRecursively(); fontconfigDir.removeRecursively(); QFile::remove(sddmConfigLocation.path() + QStringLiteral("/kdeglobals")); QFile::remove(sddmConfigLocation.path() + QStringLiteral("/plasmarc"));