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:
@ -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
|
||||
|
Reference in New Issue
Block a user