YACReaderLibrary: Convert a bunch of widgets/dialogs to new slot syntax

This commit is contained in:
Felix Kauselmann
2021-06-22 12:37:27 +02:00
parent 79d004c42b
commit f1e4396dc5
4 changed files with 18 additions and 15 deletions

View File

@ -117,7 +117,7 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
portLabel->setStyleSheet("QLabel {color:#575757; font-size:18px; font-family: Arial;}");
ip = new QComboBox(this);
connect(ip, SIGNAL(activated(const QString &)), this, SLOT(regenerateQR(const QString &)));
connect(ip, QOverload<const QString &>::of(&QComboBox::activated), this, &ServerConfigDialog::regenerateQR);
ip->setFixedWidth(200);
ip->move(332, 153);