修改OTA按钮文字

This commit is contained in:
zzh 2025-09-11 09:43:22 +08:00
parent e84cef6c95
commit 23afed3769

View File

@ -330,8 +330,8 @@ void MainWindow::setupUI() {
// OTA按钮
QHBoxLayout *otaButtonLayout = new QHBoxLayout();
otaUpgradeBtn = new QPushButton("升级到1.1.41", this);
otaDowngradeBtn = new QPushButton("降级到1.1.40", this);
otaUpgradeBtn = new QPushButton("升级", this);
otaDowngradeBtn = new QPushButton("降级", this);
otaButtonLayout->addWidget(otaUpgradeBtn);
otaButtonLayout->addWidget(otaDowngradeBtn);
otaLayout->addLayout(otaButtonLayout);