From bb64955b1c03445a2267ace19d0b5ffec463ec09 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 23 Nov 2012 20:31:42 +0100 Subject: [PATCH] Oops, the "cache" resource is actually GenericCacheLocation Fix porting docu and already ported code. --- theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }