diff options
author | vng <viktor.govako@gmail.com> | 2015-09-24 15:18:38 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-09-24 19:33:56 +0300 |
commit | 164f65e908800e692c5ff9cad7b27a2d7d339d02 (patch) | |
tree | 72fdc031482beaff3fba6772f98d75ce3ce47691 /map/framework.cpp | |
parent | b69fb417c3e9a106e674173ebe8bed8e19b9f1a8 (diff) |
[search] Fixed logic with showing initial search results on map.
Diffstat (limited to 'map/framework.cpp')
-rw-r--r-- | map/framework.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 844be1328d..6ce71d41e6 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1373,13 +1373,10 @@ void Framework::ShowSearchResult(search::Result const & res) m_balloonManager.OnShowMark(mark); } -size_t Framework::ShowAllSearchResults() +size_t Framework::ShowAllSearchResults(search::Results const & results) { using namespace search; - Results results; - GetSearchEngine()->GetResults(results); - size_t count = results.GetCount(); switch (count) { |