mirror of
git://projects.qi-hardware.com/nanomap.git
synced 2024-11-14 08:39:21 +02:00
move config file to Maps/nanomap.conf
This commit is contained in:
parent
95c361f90b
commit
e00325730b
@ -768,7 +768,7 @@ void MapWidget::loadGpx(const QString &filename)
|
||||
|
||||
void MapWidget::loadConfig()
|
||||
{
|
||||
QSettings set(QDir::homePath()+"/.nanomap.conf", QSettings::NativeFormat);
|
||||
QSettings set(QDir::homePath()+"/Maps/nanomap.conf", QSettings::NativeFormat);
|
||||
|
||||
set.beginGroup("map");
|
||||
qreal lon = set.value("lon", 0).toReal();
|
||||
@ -791,7 +791,7 @@ void MapWidget::loadConfig()
|
||||
|
||||
void MapWidget::saveConfig()
|
||||
{
|
||||
QSettings set(QDir::homePath()+"/.nanomap.conf", QSettings::NativeFormat);
|
||||
QSettings set(QDir::homePath()+"/Maps/nanomap.conf", QSettings::NativeFormat);
|
||||
|
||||
set.beginGroup("map");
|
||||
QPointF pos = geoPos();
|
||||
|
Loading…
Reference in New Issue
Block a user