[Gui] modernize some connect() settings

- addresses #6166
This commit is contained in:
Uwe
2023-01-12 02:01:35 +01:00
committed by wwmayer
parent 92398f94e3
commit ed995b5a15
17 changed files with 73 additions and 87 deletions

View File

@@ -44,7 +44,7 @@ using namespace Gui::Dialog;
UndoDialog::UndoDialog( QWidget* parent )
: QMenu( parent )
{
connect(this, SIGNAL(aboutToShow()), this, SLOT(onFetchInfo()));
connect(this, &Gui::Dialog::UndoDialog::aboutToShow, this, &UndoDialog::onFetchInfo);
}
/**
@@ -92,7 +92,7 @@ void UndoDialog::onSelected()
RedoDialog::RedoDialog( QWidget* parent )
: QMenu( parent )
{
connect(this, SIGNAL(aboutToShow()), this, SLOT(onFetchInfo()));
connect(this, &Gui::Dialog::RedoDialog::aboutToShow, this, &RedoDialog::onFetchInfo);
}
/**