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:
authorArsentiy Milchakov <milcars@mapswithme.com>2018-01-19 13:42:39 +0300
committerYuri Gorshenin <mipt.vi002@gmail.com>2018-01-22 19:53:52 +0300
commit742732c65f15ec2d15d33105587f7bd17e4f1010 (patch)
tree24a34a8163087436ae8cde35f4e997286c839864 /qt
parentad6272577d0d571751ba7e7039638bf969bf7b42 (diff)
[search][ugc] UGC ratings in search
Diffstat (limited to 'qt')
-rw-r--r--qt/search_panel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp
index bb30680135..c39e619205 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -261,7 +261,8 @@ void SearchPanel::OnSearchTextChanged(QString const & str)
m_params.m_query = normalized.toUtf8().constData();
auto const timestamp = ++m_timestamp;
m_params.m_onResults = [this, timestamp](search::Results const & results,
- vector<bool> const & /* isLocalAdsCustomer */) {
+ vector<bool> const & /* isLocalAdsCustomer */,
+ vector<float> const & /* ugcRatings */) {
GetPlatform().RunTask(Platform::Thread::Gui, bind(&SearchPanel::OnSearchResults, this,
timestamp, results));
};