PD: replace slots with member function pointers

This commit is contained in:
wmayer
2023-02-01 16:23:03 +01:00
committed by Uwe
parent 083da6cf03
commit a0548860d2
2 changed files with 4 additions and 4 deletions

View File

@@ -509,14 +509,14 @@ void TaskFeaturePick::slotDeletedObject(const Gui::ViewProviderDocumentObject& O
void TaskFeaturePick::slotUndoDocument(const Gui::Document&)
{
if (origins.empty()) {
QTimer::singleShot(100, &Gui::Control(), SLOT(closeDialog()));
QTimer::singleShot(100, &Gui::Control(), &Gui::ControlSingleton::closeDialog);
}
}
void TaskFeaturePick::slotDeleteDocument(const Gui::Document&)
{
origins.clear();
QTimer::singleShot(100, &Gui::Control(), SLOT(closeDialog()));
QTimer::singleShot(100, &Gui::Control(), &Gui::ControlSingleton::closeDialog);
}
void TaskFeaturePick::showExternal(bool val)