forked from qt-creator/qt-creator
Port to new connect api
Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -40,8 +40,8 @@ QmlJsTodoItemsScanner::QmlJsTodoItemsScanner(const KeywordList &keywordList, QOb
|
||||
TodoItemsScanner(keywordList, parent)
|
||||
{
|
||||
QmlJS::ModelManagerInterface *model = QmlJS::ModelManagerInterface::instance();
|
||||
connect(model, SIGNAL(documentUpdated(QmlJS::Document::Ptr)),
|
||||
this, SLOT(documentUpdated(QmlJS::Document::Ptr)), Qt::DirectConnection);
|
||||
connect(model, &QmlJS::ModelManagerInterface::documentUpdated,
|
||||
this, &QmlJsTodoItemsScanner::documentUpdated, Qt::DirectConnection);
|
||||
}
|
||||
|
||||
bool QmlJsTodoItemsScanner::shouldProcessFile(const QString &fileName)
|
||||
|
||||
Reference in New Issue
Block a user