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
path: root/qt
diff options
context:
space:
mode:
Diffstat (limited to 'qt')
-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 053629ff2f..7b8ea04972 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -113,7 +113,7 @@ void SearchPanel::OnSearchResults(uint64_t timestamp, search::Results const & re
m_pTable->setCellWidget(rowCount, 1, new QLabel(strHigh));
m_pTable->setItem(rowCount, 2, CreateItem(QString::fromStdString(res.GetAddress())));
- if (res.GetResultType() == search::Result::RESULT_FEATURE)
+ if (res.GetResultType() == search::Result::Type::Feature)
{
m_pTable->setItem(rowCount, 0, CreateItem(QString::fromStdString(res.GetFeatureType())));
m_pTable->setItem(rowCount, 3, CreateItem(m_pDrawWidget->GetDistance(res).c_str()));