Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25beef481c
commit 8d42b6f93c
43 changed files with 237 additions and 246 deletions

View File

@@ -820,7 +820,7 @@ void ManualAlignment::startAlignment(Base::Type mousemodel)
: tr("Please, select at least %1 points in the left and the right view").arg(n);
myViewer->myLabel->setText(msg);
connect(myViewer, SIGNAL(destroyed()), this, SLOT(reset()));
connect(myViewer, &QObject::destroyed, this, &ManualAlignment::reset);
// show all aligned views in the 2nd view
myFixedGroup.addToViewer(myViewer->getViewer(1));