mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Simplify connection from QComboBox
All we want is the new text after it changes.
This commit is contained in:
parent
ffc0f9ec8a
commit
2dbfc6cab5
@ -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, QOverload<const QString &>::of(&QComboBox::activated), this, &ServerConfigDialog::regenerateQR);
|
||||
connect(ip, &QComboBox::currentTextChanged, this, &ServerConfigDialog::regenerateQR);
|
||||
|
||||
ip->setFixedWidth(200);
|
||||
ip->move(332, 153);
|
||||
|
Loading…
x
Reference in New Issue
Block a user