forked from qt-creator/qt-creator
runAsync: Remove ResultType template parameter.
It is now deduced from either the type of the QFutureInterface<ResultType> function argument, or the return type. Change-Id: Iddab3cc329206c649a6e55a44b2de2d406701dee Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -1806,10 +1806,10 @@ void QmakeProFileNode::asyncUpdate()
|
||||
m_readerExact->setExact(false);
|
||||
m_parseFutureWatcher.waitForFinished();
|
||||
EvalInput input = evalInput();
|
||||
QFuture<EvalResult *> future = Utils::runAsync<EvalResult *>(ProjectExplorerPlugin::sharedThreadPool(),
|
||||
QThread::LowestPriority,
|
||||
&QmakeProFileNode::asyncEvaluate,
|
||||
this, input);
|
||||
QFuture<EvalResult *> future = Utils::runAsync(ProjectExplorerPlugin::sharedThreadPool(),
|
||||
QThread::LowestPriority,
|
||||
&QmakeProFileNode::asyncEvaluate,
|
||||
this, input);
|
||||
m_parseFutureWatcher.setFuture(future);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user