1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-21 22:34:23 +02:00

Changed application data paths to more platform-standard locations

This commit is contained in:
2018-11-02 20:01:19 +01:00
parent f6b1344ee2
commit f762013e1e
35 changed files with 309 additions and 178 deletions

View File

@ -1,8 +1,9 @@
#include <QtCore>
#include <QPainter>
#include <QDir>
#include "common/rectc.h"
#include "common/wgs84.h"
#include "config.h"
#include "common/programpaths.h"
#include "transform.h"
#include "tileloader.h"
#include "wmts.h"
@ -58,7 +59,7 @@ void WMTSMap::clearCache()
QString WMTSMap::tilesDir() const
{
return QString(TILES_DIR + "/" + _name);
return QString(QDir(ProgramPaths::tilesDir()).filePath(_name));
}
double WMTSMap::sd2res(double scaleDenominator) const