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-01-26 19:50:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:32:29 +0300
commit668213d39e45bcb5fd5a7a0683575636046f336d (patch)
tree239e3f92989107d5ea4a1b4da1d5df1f227d78d9 /qt/search_panel.cpp
parent2888a79f863ba347886d64404d52f97142025152 (diff)
[search] Result feature type string in 'human' format (using categories).
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 26657edf7d..96d4cc7b41 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -129,7 +129,7 @@ void SearchPanel::OnSearchResult(ResultsT * res, int queryId)
if (e.GetResultType() == ResultT::RESULT_FEATURE)
{
m_pTable->setItem(rowCount, 0,
- create_item(QString::fromUtf8(e.GetFetureTypeAsString().c_str())));
+ create_item(QString::fromUtf8(e.GetFeatureType())));
string strDist;
bool const drawDir = MeasurementUtils::FormatDistance(e.GetDistanceFromCenter(), strDist);