diff options
author | Yuri Gorshenin <y@maps.me> | 2016-02-24 17:30:30 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:32:05 +0300 |
commit | ae05e4c1105f6d2f2e2c99b6ec00a7dd79f08cef (patch) | |
tree | e53776fafd5666229523681f1d0e300c0bb454b5 /qt | |
parent | 0f1c6a83e490e1f5a80d084628777958064b77ab (diff) |
[search] Added multi-thread support to SearchEngine.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/search_panel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp index 77bca9d535..92a42054fc 100644 --- a/qt/search_panel.cpp +++ b/qt/search_panel.cpp @@ -74,7 +74,7 @@ SearchPanel::SearchPanel(DrawWidget * drawWidget, QWidget * parent) CHECK(connect(this, SIGNAL(SearchResultSignal(ResultsT *)), this, SLOT(OnSearchResult(ResultsT *)), Qt::QueuedConnection), ()); - m_params.m_callback = bind(&SearchPanel::SearchResultThreadFunc, this, _1); + m_params.m_onResults = bind(&SearchPanel::SearchResultThreadFunc, this, _1); } void SearchPanel::SearchResultThreadFunc(ResultsT const & result) |