mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 11:39:16 +02:00
Switched to XML defined online map sources
This commit is contained in:
@ -108,13 +108,8 @@ void GUI::loadMaps()
|
||||
else if (QFile::exists(GLOBAL_MAP_DIR))
|
||||
offline = GLOBAL_MAP_DIR;
|
||||
|
||||
if (!offline.isNull()) {
|
||||
if (!_ml->loadDir(offline)) {
|
||||
qWarning("Error reading map dir: %s",
|
||||
qPrintable(_ml->errorString()));
|
||||
_ml->clear();
|
||||
}
|
||||
}
|
||||
if (!offline.isNull() && !_ml->loadDir(offline))
|
||||
qWarning(qPrintable(_ml->errorString()));
|
||||
|
||||
_map = new EmptyMap(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user