diff options
author | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2020-02-07 09:36:54 +0100 |
---|---|---|
committer | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2020-02-10 18:28:47 +0100 |
commit | e59094cb86b01396d7cfc2b337c58cfbef5b2455 (patch) | |
tree | 725e814c2277b3fc3549d9a7bd9c3c1496fec0f4 /examples/network | |
parent | 9cc8949cc63e47da3db333a699ff55ffa811783b (diff) |
QSpinBox: remove deprecated signal valueChanged(const QString &)
Task-number: QTBUG-81845
Change-Id: I91148cac553f63b44968337ccc121e7376ee4465
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'examples/network')
-rw-r--r-- | examples/network/multicastsender/sender.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/multicastsender/sender.cpp b/examples/network/multicastsender/sender.cpp index a542a2528f..a995bd7331 100644 --- a/examples/network/multicastsender/sender.cpp +++ b/examples/network/multicastsender/sender.cpp @@ -81,7 +81,7 @@ Sender::Sender(QWidget *parent) buttonBox->addButton(startButton, QDialogButtonBox::ActionRole); buttonBox->addButton(quitButton, QDialogButtonBox::RejectRole); - connect(ttlSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), this, &Sender::ttlChanged); + connect(ttlSpinBox, &QSpinBox::valueChanged, this, &Sender::ttlChanged); connect(startButton, &QPushButton::clicked, this, &Sender::startSending); connect(quitButton, &QPushButton::clicked, this, &Sender::close); connect(&timer, &QTimer::timeout, this, &Sender::sendDatagram); |