From 9595678cadb725759fc51662f894291575a94ea8 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Tue, 22 Aug 2023 23:20:01 +0300 Subject: [PATCH] tst_QSpinBox: handle an old TODO QTBUG-69492 has been fixed since Qt 5.12. Change-Id: I8bc59bd37a9ee2f47f13fa8ff54aa91e2c9148fa Reviewed-by: Volker Hilsheimer (cherry picked from commit 2e37cff19efb6b87945c89029f70fc612b3a6806) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp b/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp index 928d7f9c4eb..7587a614eed 100644 --- a/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp +++ b/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp @@ -1830,10 +1830,6 @@ void tst_QSpinBox::stepModifierPressAndHold() spin.setStyle(stepModifierStyle.data()); QSignalSpy spy(&spin, &SpinBox::valueChanged); - // TODO: remove debug output when QTBUG-69492 is fixed - connect(&spin, &SpinBox::valueChanged, [=]() { - qDebug() << QTime::currentTime() << "valueChanged emitted"; - }); spin.show(); QVERIFY(QTest::qWaitForWindowActive(&spin));