mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Do not treat Ozimaps as directories
Directory parsing was stopped at the level of the map which is not what we want - users would have to create separate directories for every Ozimap.
This commit is contained in:
parent
3af98b6785
commit
ee73908231
@ -381,7 +381,7 @@ void OziMap::setDevicePixelRatio(qreal deviceRatio, qreal mapRatio)
|
|||||||
Map *OziMap::createTAR(const QString &path, const Projection &, bool *isDir)
|
Map *OziMap::createTAR(const QString &path, const Projection &, bool *isDir)
|
||||||
{
|
{
|
||||||
if (isDir)
|
if (isDir)
|
||||||
*isDir = true;
|
*isDir = false;
|
||||||
|
|
||||||
return new OziMap(path, true);
|
return new OziMap(path, true);
|
||||||
}
|
}
|
||||||
@ -389,7 +389,7 @@ Map *OziMap::createTAR(const QString &path, const Projection &, bool *isDir)
|
|||||||
Map *OziMap::createMAP(const QString &path, const Projection &, bool *isDir)
|
Map *OziMap::createMAP(const QString &path, const Projection &, bool *isDir)
|
||||||
{
|
{
|
||||||
if (isDir)
|
if (isDir)
|
||||||
*isDir = true;
|
*isDir = false;
|
||||||
|
|
||||||
return new OziMap(path, false);
|
return new OziMap(path, false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user