diff options
author | Sergey Pisarchik <pisarchik@mapswithme.com> | 2014-07-26 21:41:23 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:22:31 +0300 |
commit | 70826feb29170cd6a5fbbb9456eb3950cde1ee86 (patch) | |
tree | 2987bc14165704a555f725e7fa18c089be9ec1d7 /tizen | |
parent | 71938106790307929181ff52b393d64df0de3146 (diff) |
[Tizen] Compile error fix.
Diffstat (limited to 'tizen')
-rw-r--r-- | tizen/MapsWithMe/src/SearchForm.cpp | 4 |
1 files 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()); |