[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

@@ -302,8 +302,7 @@ void ButtonModel::loadConfig(const char *RequiredDeviceName)
CommandView::CommandView(QWidget *parent) : QTreeView(parent)
{
this->setEnabled(false);
connect(this, SIGNAL(clicked(const QModelIndex&)),
this, SLOT(goClicked(const QModelIndex&)));
connect(this, &Gui::Dialog::CommandView::clicked, this, &CommandView::goClicked);
}
void CommandView::goChangeCommandSelection(const QString& commandName)