mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-27 17:04:24 +02:00
Properly sort the Orux maps zoom levels
This commit is contained in:
@ -351,11 +351,12 @@ OruxMap::OruxMap(const QString &fileName, QObject *parent)
|
||||
{
|
||||
if (!readXML(fileName))
|
||||
return;
|
||||
|
||||
if (_zooms.isEmpty()) {
|
||||
_errorString = "No usable zoom level found";
|
||||
return;
|
||||
}
|
||||
std::sort(_zooms.begin(), _zooms.end());
|
||||
|
||||
|
||||
QFileInfo fi(fileName);
|
||||
QDir dir(fi.absoluteDir());
|
||||
|
Reference in New Issue
Block a user