Commit e7c51a04 authored by Yunhe Guo's avatar Yunhe Guo
Browse files

Change POTD cache path back to ~/.cache

parent 1ea41f7a
......@@ -57,7 +57,7 @@ void SaveImageThread::run()
QString CachedProvider::identifierToPath( const QString &identifier )
{
const QString dataDir = QStandardPaths::writableLocation(QStandardPaths::TempLocation) + QLatin1String("/plasma_engine_potd/");
const QString dataDir = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QLatin1String("/plasma_engine_potd/");
QDir d;
d.mkpath(dataDir);
return dataDir + identifier;
......
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