Skip to content

Commit

Permalink
Stop dumping cache data in home dir, cache in default cache location
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
  • Loading branch information
claucambra authored and mgallien committed May 6, 2022
1 parent edba145 commit c38a760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ QNetworkAccessManager* AccessManagerFactory::create(QObject *parent)
{
const auto am = new AccessManager(parent);
const auto diskCache = new QNetworkDiskCache(am);
diskCache->setCacheDirectory("cacheDir");
diskCache->setCacheDirectory(QStandardPaths::writableLocation(QStandardPaths::CacheLocation));
am->setCache(diskCache);
return am;
}
Expand Down

0 comments on commit c38a760

Please sign in to comment.