Commit e14717c5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

fwupd: use the same caches as fwupdmgr and libfwupd

parent 32e018c0
......@@ -359,7 +359,7 @@ void FwupdBackend::handleError(GError *perror)
QString FwupdBackend::cacheFile(const QString &kind, const QString &basename)
{
const QDir cacheDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation));
const QDir cacheDir(QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation));
const QString cacheDirFile = cacheDir.filePath(kind);
if (!QFileInfo::exists(cacheDirFile) && !cacheDir.mkpath(kind))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment