Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-02-24 21:18:09 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:34:32 +0300
commit2e1c02e9cd3a780ad66027dc3a1bc988490664d8 (patch)
treeee11fe86323b497723b6ea8317949f474a784101 /qt/search_panel.cpp
parentb60021ce40798b3defbf776ae3aad5ac60c6adca (diff)
[search] Draw placemark for search result. Closed #666 :)))))
Diffstat (limited to 'qt/search_panel.cpp')
-rw-r--r--qt/search_panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp
index 858c7ffd39..554267ab5e 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -197,7 +197,7 @@ void SearchPanel::OnSearchPanelItemClicked(int row, int)
if (m_results[row].GetResultType() == ResultT::RESULT_FEATURE)
{
// center viewport on clicked item
- m_pDrawWidget->ShowFeature(m_results[row].GetFeatureRect());
+ m_pDrawWidget->ShowFeature(m_results[row].GetFeatureRect(), m_results[row].GetFeatureCenter());
}
else
{