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:
@@ -163,7 +163,7 @@ bool DiffEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
|
||||
QAction *diffAction = new QAction(tr("Diff..."), this);
|
||||
Core::Command *diffCommand = Core::ActionManager::registerAction(diffAction,
|
||||
"DiffEditor.Diff", globalcontext);
|
||||
connect(diffAction, SIGNAL(triggered()), this, SLOT(diff()));
|
||||
connect(diffAction, &QAction::triggered, this, &DiffEditorPlugin::diff);
|
||||
toolsContainer->addAction(diffCommand, Constants::G_TOOLS_DIFF);
|
||||
|
||||
addAutoReleasedObject(new DiffEditorFactory(this));
|
||||
|
||||
Reference in New Issue
Block a user