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

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