mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Improved OZF files handling.
This commit is contained in:
parent
47199348d8
commit
02bf85780a
@ -332,7 +332,11 @@ bool OfflineMap::getImageInfo(const QString &path)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_imgPath.endsWith("ozf2")) {
|
if (_imgPath.endsWith("ozf3", Qt::CaseInsensitive)
|
||||||
|
|| _imgPath.endsWith("ozf4", Qt::CaseInsensitive)) {
|
||||||
|
qWarning("%s: %s: obfuscated image files are not supported",
|
||||||
|
qPrintable(_name), qPrintable(_imgPath));
|
||||||
|
} else if (_imgPath.endsWith("ozf2", Qt::CaseInsensitive)) {
|
||||||
_ozf.load(_imgPath);
|
_ozf.load(_imgPath);
|
||||||
_size = _ozf.size();
|
_size = _ozf.size();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user