summaryrefslogtreecommitdiff
path: root/bin/offline.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-03-04 15:14:19 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-04 15:15:10 -0800
commit55c5c3c8910878cbd1b365467a95f12791306b9d (patch)
treeeab057f523a0c906c1ed374b94496c6ece32d074 /bin/offline.cpp
parenteb9b4638417ddfb519cd278f25ad022500a9573a (diff)
downloadqtlocation-mapboxgl-55c5c3c8910878cbd1b365467a95f12791306b9d.tar.gz
[bin] Print message when tile count limit is exceeded
Diffstat (limited to 'bin/offline.cpp')
-rw-r--r--bin/offline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/offline.cpp b/bin/offline.cpp
index c03149d2f5..a6a135df5f 100644
--- a/bin/offline.cpp
+++ b/bin/offline.cpp
@@ -93,6 +93,10 @@ int main(int argc, char *argv[]) {
std::cerr << error.reason << " downloading resource: " << error.message << std::endl;
}
+ void mapboxTileCountLimitExceeded(uint64_t limit) override {
+ std::cerr << "Error: reached limit of " << limit << " offline tiles" << std::endl;
+ }
+
util::RunLoop& loop;
SystemTimePoint start;
};