minor change to the update system

This commit is contained in:
fourtf
2018-06-21 22:39:17 +02:00
parent e204dfdb17
commit 713d0c9599
+6
View File
@@ -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) {