From 7c48611f9ee04e1320e1667ea0dae7c355a9935b Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Tue, 25 Feb 2020 17:50:12 +0200 Subject: [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. --- render-test/file_source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render-test') 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 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); } } -- cgit v1.2.1