forked from qt-creator/qt-creator
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 <orgads@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user