diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-05 08:15:56 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-05 08:15:56 +0200 |
commit | 34a5e59007db39ca92e88a7b6e0ebf1b24681267 (patch) | |
tree | 8ea76c042043373676d5ff53fd04886c1a9250cb /application | |
parent | 12711880198d7a9d072527094b75dc04fafc5a45 (diff) | |
download | MultiMC-34a5e59007db39ca92e88a7b6e0ebf1b24681267.tar MultiMC-34a5e59007db39ca92e88a7b6e0ebf1b24681267.tar.gz MultiMC-34a5e59007db39ca92e88a7b6e0ebf1b24681267.tar.lz MultiMC-34a5e59007db39ca92e88a7b6e0ebf1b24681267.tar.xz MultiMC-34a5e59007db39ca92e88a7b6e0ebf1b24681267.zip |
GH-835 show errors reported by the update download task to the user
Diffstat (limited to 'application')
-rw-r--r-- | application/MainWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |