Surface: move to new style connect()

This commit is contained in:
wmayer
2023-01-13 15:21:37 +01:00
parent be9f68f46f
commit 4da8c3682e
5 changed files with 8 additions and 10 deletions

View File

@@ -130,7 +130,7 @@ FillingEdgePanel::FillingEdgePanel(ViewProviderFilling* vp, Surface::Filling* ob
action->setShortcut(QString::fromLatin1("Del"));
action->setShortcutContext(Qt::WidgetShortcut);
ui->listUnbound->addAction(action);
connect(action, SIGNAL(triggered()), this, SLOT(onDeleteUnboundEdge()));
connect(action, &QAction::triggered, this, &FillingEdgePanel::onDeleteUnboundEdge);
ui->listUnbound->setContextMenuPolicy(Qt::ActionsContextMenu);
}