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
@@ -219,8 +219,8 @@ void ModelManager::delayedInitialization()
|
||||
CppTools::CppModelManager *cppModelManager = CppTools::CppModelManager::instance();
|
||||
// It's important to have a direct connection here so we can prevent
|
||||
// the source and AST of the cpp document being cleaned away.
|
||||
connect(cppModelManager, SIGNAL(documentUpdated(CPlusPlus::Document::Ptr)),
|
||||
this, SLOT(maybeQueueCppQmlTypeUpdate(CPlusPlus::Document::Ptr)), Qt::DirectConnection);
|
||||
connect(cppModelManager, &CppTools::CppModelManager::documentUpdated,
|
||||
this, &ModelManagerInterface::maybeQueueCppQmlTypeUpdate, Qt::DirectConnection);
|
||||
|
||||
connect(SessionManager::instance(), &SessionManager::projectRemoved,
|
||||
this, &ModelManager::removeProjectInfo);
|
||||
|
||||
Reference in New Issue
Block a user