Commit 4c849bc2 authored by Eike Ziller's avatar Eike Ziller

Fix warning.

Change-Id: I30ec590b86846f8fdcb0094a848e56002d590b7a
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent b4a8dac2
......@@ -511,9 +511,9 @@ void CppFindReferences::setDependencyTable(const CPlusPlus::DependencyTable &new
void CppFindReferences::createWatcher(const QFuture<Usage> &future, Find::SearchResult *search)
{
QFutureWatcher<Usage> *watcher = new QFutureWatcher<Usage>();
watcher->setFuture(future);
watcher->setPendingResultsLimit(1);
connect(watcher, SIGNAL(resultsReadyAt(int,int)), this, SLOT(displayResults(int,int)));
connect(watcher, SIGNAL(finished()), this, SLOT(searchFinished()));
m_watchers.insert(watcher, search);
watcher->setFuture(future);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment