mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
remove unnecessary QMessageBox
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user