mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Removed duplicit map error debug output
This commit is contained in:
parent
a50fa28c08
commit
048198dfe1
@ -137,11 +137,8 @@ TreeNode<MapAction*> GUI::createMapActionsNode(const TreeNode<Map*> &node)
|
||||
MapAction *a = new MapAction(map, _mapsActionGroup);
|
||||
connect(a, &MapAction::loaded, this, &GUI::mapInitialized);
|
||||
tree.addItem(a);
|
||||
} else {
|
||||
qWarning("%s: %s", qPrintable(map->path()),
|
||||
qPrintable(map->errorString()));
|
||||
} else
|
||||
delete map;
|
||||
}
|
||||
}
|
||||
|
||||
return tree;
|
||||
|
@ -80,7 +80,6 @@ Map *MapList::loadFile(const QString &path, const Projection &proj, bool *isDir)
|
||||
errors.append(it.key() + ": " + map->errorString());
|
||||
++it;
|
||||
}
|
||||
|
||||
} else {
|
||||
for (it = _parsers.begin(); it != _parsers.end(); it++) {
|
||||
map = it.value()(path, proj, isDir);
|
||||
|
Loading…
Reference in New Issue
Block a user