mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: remove useless code
This commit is contained in:
parent
1c53e637ea
commit
bbdf0408f4
@ -121,11 +121,7 @@ void xToolsBleCentralToolUi::initSettingsMenu(const QString& settingsGroup)
|
||||
sp->setGroupKey(settingsGroup, "timeoutInterval");
|
||||
gl->addWidget(sp, rowIndex, 1, 1, 1);
|
||||
connect(sp,
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
#else
|
||||
&QSpinBox::valueChanged,
|
||||
#endif
|
||||
this,
|
||||
[=](int v) { ui->comboBoxDevices->setTimeoutInterval(v); });
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user