diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2010-12-06 21:53:17 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:06:41 +0300 |
commit | 0a221350d1036690a6d25310a8e4c7dd98ecff94 (patch) | |
tree | f05780ab04de285a120ba6dd23c2fb76243c235a /map/feature_vec_model.cpp | |
parent | 814e5093acdf950100732aa04e435874ac3c76d5 (diff) |
Platform refactoring for QT
Introduced correct paths support for release production builds
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r-- | map/feature_vec_model.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp index e1b82e2262..dd418f057b 100644 --- a/map/feature_vec_model.cpp +++ b/map/feature_vec_model.cpp @@ -21,7 +21,10 @@ namespace model void FeaturesFetcher::InitClassificator() { - classificator::Read(GetPlatform().ResourcesDir()); + Platform & p = GetPlatform(); + classificator::Read(p.ReadPathForFile("drawing_rules.bin"), + p.ReadPathForFile("classificator.txt"), + p.ReadPathForFile("visibility.txt")); } void FeaturesFetcher::AddMap(string const & dataPath, string const & indexPath) |