From b4360c89fb0a83b8c1c5ce0e70fd69f7c3b7e913 Mon Sep 17 00:00:00 2001 From: uncor3 Date: Fri, 30 Jan 2026 23:30:22 +0000 Subject: [PATCH] remove unnecessary QMessageBox --- src/settingswidget.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/settingswidget.cpp b/src/settingswidget.cpp index b04e85d..f72add1 100644 --- a/src/settingswidget.cpp +++ b/src/settingswidget.cpp @@ -356,12 +356,7 @@ void SettingsWidget::onCheckUpdatesClicked() connect( MainWindow::sharedInstance()->m_updater, &ZUpdater::dataAvailable, this, [this](const QJsonDocument data, bool isUpdateAvailable) { - if (isUpdateAvailable) { - QMessageBox::information( - this, "Update Available", - "A new version of iDescriptor is available. Please " - "update to the latest version."); - } else { + if (!isUpdateAvailable) { QMessageBox::information(this, "No Updates", "You are using the latest version of " "iDescriptor.");