From 34a5e59007db39ca92e88a7b6e0ebf1b24681267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 5 May 2015 08:15:56 +0200 Subject: GH-835 show errors reported by the update download task to the user --- application/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'application/MainWindow.cpp') diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 608aca9c..fff15cdf 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -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) -- cgit v1.2.3