Gui: move to new style connect()
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user