mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Some more OZFx extensions
This commit is contained in:
parent
96f406aad7
commit
713e331b2a
@ -348,11 +348,12 @@ bool OfflineMap::getImageInfo(const QString &path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString suffix = ii.suffix().toLower();
|
QString suffix = ii.suffix().toLower();
|
||||||
if (suffix == "ozf3" || suffix == "ozf4") {
|
if (suffix == "ozf3" || suffix == "ozfx3" || suffix == "ozf4"
|
||||||
|
|| suffix == "ozfx4") {
|
||||||
_errorString = QString("%1: Obfuscated image files not supported")
|
_errorString = QString("%1: Obfuscated image files not supported")
|
||||||
.arg(QFileInfo(_imgPath).fileName());
|
.arg(QFileInfo(_imgPath).fileName());
|
||||||
return false;
|
return false;
|
||||||
} else if (suffix == "ozf2") {
|
} else if (suffix == "ozf2" || suffix == "ozfx2") {
|
||||||
_ozf.load(_imgPath);
|
_ozf.load(_imgPath);
|
||||||
_size = _ozf.size();
|
_size = _ozf.size();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user