Oops, the "cache" resource is actually GenericCacheLocation
Fix porting docu and already ported code.
This commit is contained in:
parent
c28900a1c0
commit
bb64955b1c
@ -319,7 +319,7 @@ void ThemePrivate::discardCache(CacheTypes caches)
|
|||||||
f.remove();
|
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);
|
svgElementsCache = KSharedConfig::openConfig(svgElementsFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user