Convert to new connect api

Change-Id: I80aad51340bcde953763dec36cf989d6e19d4cd0
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Montel Laurent
2015-01-30 10:19:13 +01:00
committed by hjk
parent f479c1979e
commit 0df6780176
18 changed files with 53 additions and 49 deletions

View File

@@ -82,8 +82,7 @@ bool GenericProjectPlugin::initialize(const QStringList &, QString *errorMessage
command->setAttribute(Command::CA_Hide);
mproject->addAction(command, ProjectExplorer::Constants::G_PROJECT_FILES);
connect(editFilesAction, &QAction::triggered,
this, &GenericProjectPlugin::editFiles);
connect(editFilesAction, &QAction::triggered, this, &GenericProjectPlugin::editFiles);
connect(ProjectTree::instance(), &ProjectTree::aboutToShowContextMenu,
[this] (Project *project, Node *) { m_contextMenuProject = project; });