From 713d0c959964d82efb4fada7efb8211c3ad7e06d Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 21 Jun 2018 22:39:17 +0200 Subject: [PATCH] minor change to the update system --- src/singletons/updatemanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/singletons/updatemanager.cpp b/src/singletons/updatemanager.cpp index 9517fb4b4..feec5db1a 100644 --- a/src/singletons/updatemanager.cpp +++ b/src/singletons/updatemanager.cpp @@ -53,6 +53,12 @@ void UpdateManager::installUpdates() req.setTimeout(600000); req.onError([this](int) -> bool { this->setStatus_(DownloadFailed); + + QMessageBox *box = new QMessageBox(QMessageBox::Information, "Chatterino Update", + "Failed while trying to download the update."); + box->setAttribute(Qt::WA_DeleteOnClose); + box->show(); + return true; }); req.get([this](QByteArray &object) {