From 4e3b6c2eb21899f8a898bde82782a9ab0d66f580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 22 Aug 2017 23:14:32 +0200 Subject: [PATCH] Added missing error check --- src/ozf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ozf.cpp b/src/ozf.cpp index 152e335c..355755f7 100644 --- a/src/ozf.cpp +++ b/src/ozf.cpp @@ -181,7 +181,7 @@ bool OZF::readTileTable() _zooms.append(zoom); } - return true; + return _zooms.isEmpty() ? false : true; } bool OZF::load(const QString &path)