summaryrefslogtreecommitdiff
path: root/render-test
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 17:50:12 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 23:15:47 +0200
commit7c48611f9ee04e1320e1667ea0dae7c355a9935b (patch)
tree31b46f31184833165ee1d53f137e674fcc3069fb /render-test
parent3c05bd984ada9e146e614165f009b9b45fb05992 (diff)
downloadqtlocation-mapboxgl-7c48611f9ee04e1320e1667ea0dae7c355a9935b.tar.gz
[core] Consolidate file source keys in the generic FileSource header
Thus we do not need to include specific headers to use `{set|get}Property` API with key constants.
Diffstat (limited to 'render-test')
-rw-r--r--render-test/file_source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/file_source.cpp b/render-test/file_source.cpp
index f72bc08e37..b93325f901 100644
--- a/render-test/file_source.cpp
+++ b/render-test/file_source.cpp
@@ -20,7 +20,7 @@ ProxyFileSource::ProxyFileSource(std::shared_ptr<FileSource> defaultResourceLoad
assert(defaultResourceLoader);
if (offline) {
auto dbfs = FileSourceManager::get()->getFileSource(FileSourceType::Database, options);
- dbfs->setProperty("read-only-mode", true);
+ dbfs->setProperty(READ_ONLY_MODE_KEY, true);
}
}