remove unnecessary QMessageBox

This commit is contained in:
uncor3
2026-01-30 23:30:22 +00:00
parent 1740c7d0ce
commit b4360c89fb
+1 -6
View File
@@ -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.");