diff options
author | Montel Laurent <montel@kde.org> | 2015-01-29 10:42:16 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-01-29 13:00:02 +0000 |
commit | c001e98da8c11a5aa3dfe3ee85701e788411aec4 (patch) | |
tree | 33e1fb487c7d55fe3ecc4337dd9f900fd0b647b3 /src/plugins/diffeditor/diffeditorplugin.cpp | |
parent | f567565d26c9607fc4a22c01175962c51bd5a32d (diff) | |
download | qt-creator-c001e98da8c11a5aa3dfe3ee85701e788411aec4.tar.gz |
Port to new connect api
Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorplugin.cpp')
-rw-r--r-- | src/plugins/diffeditor/diffeditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/diffeditor/diffeditorplugin.cpp b/src/plugins/diffeditor/diffeditorplugin.cpp index a3d89c823b..177e6c9c0c 100644 --- a/src/plugins/diffeditor/diffeditorplugin.cpp +++ b/src/plugins/diffeditor/diffeditorplugin.cpp @@ -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)); |