Oops, the "cache" resource is actually GenericCacheLocation

Fix porting docu and already ported code.
This commit is contained in:
David Faure 2012-11-23 20:31:42 +01:00
parent c28900a1c0
commit bb64955b1c

View File

@ -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);
}
}