GH-835 show errors reported by the update download task to the user
This commit is contained in:
parent
1271188019
commit
34a5e59007
1 changed files with 4 additions and 0 deletions
|
@ -1007,6 +1007,10 @@ void MainWindow::downloadUpdates(GoUpdate::Status status, bool installOnExit)
|
|||
else
|
||||
MMC->installUpdates(updateTask.updateFilesDir(), baseFlags | RestartOnFinish);
|
||||
}
|
||||
else
|
||||
{
|
||||
CustomMessageBox::selectable(this, tr("Error"), updateTask.failReason(), QMessageBox::Warning)->show();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::onCatToggled(bool state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue