diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/updatemanager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp index 47554fcc5..4729998c7 100644 --- a/qt-ui/updatemanager.cpp +++ b/qt-ui/updatemanager.cpp @@ -47,7 +47,11 @@ void UpdateManager::requestReceived() } else { //No network error QString response(reply->readAll()); - QString responseBody = response.split("\"").at(1); + QString responseBody; + if (response.contains('"')) + responseBody = response.split("\"").at(1); + else + responseBody = response; msgbox.setIcon(QMessageBox::Information); |