forked from qt-creator/qt-creator
Fix warning.
Change-Id: I30ec590b86846f8fdcb0094a848e56002d590b7a Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user