From 5000c7b5f67f370f790af2cf56fbae7141f4c207 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 20 Mar 2017 12:17:06 +0100 Subject: [PATCH] QmlDesigner: Fix regression With the old connection syntax the correct overload was explicit. We listen to the original signal from QAction. Change-Id: I0c8620148ebcb1ae0fceeefe54069c57c881423f Reviewed-by: Orgad Shaneh --- .../qmldesigner/components/componentcore/abstractaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/componentcore/abstractaction.cpp b/src/plugins/qmldesigner/components/componentcore/abstractaction.cpp index d15d09fe56a..b439abbf23c 100644 --- a/src/plugins/qmldesigner/components/componentcore/abstractaction.cpp +++ b/src/plugins/qmldesigner/components/componentcore/abstractaction.cpp @@ -76,7 +76,7 @@ SelectionContext AbstractAction::selectionContext() const DefaultAction::DefaultAction(const QString &description) : QAction(description, 0) { - connect(this, &DefaultAction::triggered, this, &DefaultAction::actionTriggered); + connect(this, &QAction::triggered, this, &DefaultAction::actionTriggered); } void DefaultAction::actionTriggered(bool enable)