forked from qt-creator/qt-creator
CppEditor: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I5ee3678f8293486cccfc634aaab5c75b066ed011 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3b669a37cd
commit
928ba8aa84
@@ -255,7 +255,7 @@ void FunctionDeclDefLinkFinder::startFindLinkAt(
|
||||
|
||||
// handle the rest in a thread
|
||||
m_watcher.reset(new QFutureWatcher<QSharedPointer<FunctionDeclDefLink> >());
|
||||
connect(m_watcher.data(), SIGNAL(finished()), this, SLOT(onFutureDone()));
|
||||
connect(m_watcher.data(), &QFutureWatcherBase::finished, this, &FunctionDeclDefLinkFinder::onFutureDone);
|
||||
m_watcher->setFuture(Utils::runAsync(findLinkHelper, result, refactoringChanges));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user