Gui: move to new style connect()

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

View File

@@ -74,8 +74,8 @@ LocationWidget::LocationWidget (QWidget * parent)
auto gridLayout = new QGridLayout(this);
gridLayout->addLayout(box, 0, 0, 1, 2);
connect(dValue, SIGNAL(activated(int)),
this, SLOT(on_direction_activated(int)));
connect(dValue, qOverload<int>(&QComboBox::activated),
this, &LocationWidget::on_direction_activated);
retranslateUi();
}