mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Don't show update dialog if update request failed
This commit is contained in:
@@ -1265,6 +1265,9 @@ void MainWindow::CheckUpdates(bool forceCheck, UpdateResultMethod callback)
|
||||
});
|
||||
|
||||
QObject::connect(req, &QNetworkReply::finished, [this, req, callback]() {
|
||||
if(req->error() != QNetworkReply::NoError)
|
||||
return;
|
||||
|
||||
QString response = QString::fromUtf8(req->readAll());
|
||||
|
||||
statusText->setText(QString());
|
||||
|
||||
Reference in New Issue
Block a user