diff --git a/theme.cpp b/theme.cpp index fa13d5493..84c35fd55 100644 --- a/theme.cpp +++ b/theme.cpp @@ -319,7 +319,7 @@ void ThemePrivate::discardCache(CacheTypes caches) f.remove(); } - const QString svgElementsFile = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QLatin1Char('/') + "plasma-svgelements-" + themeName; + const QString svgElementsFile = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QLatin1Char('/') + "plasma-svgelements-" + themeName; svgElementsCache = KSharedConfig::openConfig(svgElementsFile); } }