Skip to content

Commit da016e7

Browse files
committed
again issue with qOverload on Qt v5.8.0...
1 parent fe3fdba commit da016e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/hmi/MainWindow.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,11 @@ MainWindow::MainWindow(QWidget *parent) :
9898
connect(_ui->debugBox, &QAbstractButton::toggled, this, &MainWindow::onDebugToggled);
9999
connect(_ui->pauseButton, &QAbstractButton::clicked, this, &MainWindow::onPauseClicked);
100100

101-
102-
connect(_ui->debugSB, qOverload<int>(&QSpinBox::valueChanged), this, &MainWindow::onDebugValue);
103101
#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
104102
connect(_ui->debugSB, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &MainWindow::onDebugValue);
105103
#else
106104
connect(_ui->debugSB, qOverload<int>(&QSpinBox::valueChanged), this, &MainWindow::onDebugValue);
107105
#endif
108-
109106
}
110107

111108
MainWindow::~MainWindow()

0 commit comments

Comments
 (0)