1
0
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:
Niels 2010-06-15 14:42:01 +02:00
parent 95c361f90b
commit e00325730b

View File

@ -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();