From 70826feb29170cd6a5fbbb9456eb3950cde1ee86 Mon Sep 17 00:00:00 2001 From: Sergey Pisarchik Date: Sat, 26 Jul 2014 20:41:23 +0300 Subject: [PATCH] [Tizen] Compile error fix. --- tizen/MapsWithMe/src/SearchForm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tizen/MapsWithMe/src/SearchForm.cpp b/tizen/MapsWithMe/src/SearchForm.cpp index fc344cfa4c..85f54523f7 100644 --- a/tizen/MapsWithMe/src/SearchForm.cpp +++ b/tizen/MapsWithMe/src/SearchForm.cpp @@ -182,7 +182,7 @@ ListItemBase * SearchForm::CreateItem (int index, float itemWidth) else { Result const & res = m_curResults.GetResult(index); - if (res.GetResultType() == Result::RESULT_SUGGESTION) + if (res.GetResultType() == Result::RESULT_SUGGEST_PURE) return CreateSuggestionItem(res.GetString(), itemWidth); else return CreateFeatureItem(res, itemWidth); @@ -203,7 +203,7 @@ void SearchForm::OnListViewItemStateChanged(Tizen::Ui::Controls::ListView & list if (m_curResults.GetCount() > 0) { Result res = m_curResults.GetResult(index); - if (res.GetResultType() == Result::RESULT_SUGGESTION) + if (res.GetResultType() == Result::RESULT_SUGGEST_PURE) { m_searchBar->SetText(res.GetString()); Search(GetSearchString());