chore: do something make old qt version happy

This commit is contained in:
x-tools-author 2025-04-13 09:15:49 +08:00
parent 3c47c8f4d6
commit b73063e79e

View File

@ -420,15 +420,9 @@ void Page::initUiOutput()
// 连接搜索相关的信号和槽
connect(ui->pushButtonSearch, &QPushButton::clicked, this, &Page::onSearchButtonClicked);
connect(ui->lineEditSearch, &QLineEdit::textChanged, this, &Page::onSearchTextChanged);
connect(ui->checkBoxRegex, &QCheckBox::checkStateChanged, this, [this](int) {
performSearch();
});
connect(ui->checkBoxMatchCase, &QCheckBox::checkStateChanged, this, [this](int) {
performSearch();
});
connect(ui->checkBoxWholeWord, &QCheckBox::checkStateChanged, this, [this](int) {
performSearch();
});
connect(ui->checkBoxRegex, xCheckStateChanged, this, [this](int) { performSearch(); });
connect(ui->checkBoxMatchCase, xCheckStateChanged, this, [this](int) { performSearch(); });
connect(ui->checkBoxWholeWord, xCheckStateChanged, this, [this](int) { performSearch(); });
}
void Page::initUiInput()