GH-835 show errors reported by the update download task to the user
This commit is contained in:
parent
1271188019
commit
34a5e59007
@ -1007,6 +1007,10 @@ void MainWindow::downloadUpdates(GoUpdate::Status status, bool installOnExit)
|
|||||||
else
|
else
|
||||||
MMC->installUpdates(updateTask.updateFilesDir(), baseFlags | RestartOnFinish);
|
MMC->installUpdates(updateTask.updateFilesDir(), baseFlags | RestartOnFinish);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CustomMessageBox::selectable(this, tr("Error"), updateTask.failReason(), QMessageBox::Warning)->show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::onCatToggled(bool state)
|
void MainWindow::onCatToggled(bool state)
|
||||||
|
Loading…
Reference in New Issue
Block a user