mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed Qt 4 cache paths
This commit is contained in:
parent
a299207e5d
commit
09242841e3
@ -77,12 +77,13 @@ QString ProgramPaths::tilesDir()
|
||||
{
|
||||
#if defined(Q_OS_WIN32)
|
||||
return QDir::homePath() + QString("/AppData/Local/")
|
||||
+ qApp->applicationName() + QString("/cache");
|
||||
+ qApp->applicationName() + QString("/cache/") + QString(TILES_DIR);
|
||||
#elif defined(Q_OS_MAC)
|
||||
return QDir::homePath() + QString("/Library/Caches/")
|
||||
+ qApp->applicationName();
|
||||
+ qApp->applicationName() + QString("/" TILES_DIR);
|
||||
#else
|
||||
return QDir::homePath() + QString("/.cache/") + qApp->applicationName();
|
||||
return QDir::homePath() + QString("/.cache/") + qApp->applicationName()
|
||||
+ QString("/" TILES_DIR);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user