forked from qt-creator/qt-creator
QmlJS[|Editor|Tools]: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I56550546b341d486d321329e9a90b9369d56af40 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
090c106929
commit
7609e56ee3
@@ -534,10 +534,10 @@ SemanticHighlighter::SemanticHighlighter(QmlJSEditorDocument *document)
|
||||
, m_document(document)
|
||||
, m_startRevision(0)
|
||||
{
|
||||
connect(&m_watcher, SIGNAL(resultsReadyAt(int,int)),
|
||||
this, SLOT(applyResults(int,int)));
|
||||
connect(&m_watcher, SIGNAL(finished()),
|
||||
this, SLOT(finished()));
|
||||
connect(&m_watcher, &QFutureWatcherBase::resultsReadyAt,
|
||||
this, &SemanticHighlighter::applyResults);
|
||||
connect(&m_watcher, &QFutureWatcherBase::finished,
|
||||
this, &SemanticHighlighter::finished);
|
||||
}
|
||||
|
||||
void SemanticHighlighter::rerun(const QmlJSTools::SemanticInfo &semanticInfo)
|
||||
|
||||
Reference in New Issue
Block a user