diff options
Diffstat (limited to 'qt-ui/updatemanager.cpp')
-rw-r--r-- | qt-ui/updatemanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp index 75f454795..51292fcbd 100644 --- a/qt-ui/updatemanager.cpp +++ b/qt-ui/updatemanager.cpp @@ -33,13 +33,13 @@ void UpdateManager::requestReceived(QNetworkReply *reply) { QMessageBox msgbox; QString msgTitle = tr("Check for updates."); - QString msgText = tr("<h3>Subsurface was unable to check for updates.</h3>"); + QString msgText = "<h3>" + tr("Subsurface was unable to check for updates.") + "</h3>"; if (reply->error() != QNetworkReply::NoError) { //Network Error - msgText = msgText + tr("<br/><b>The following error occurred:</b><br/>") + reply->errorString() - + tr("<br/><br/><b>Please check your internet connection.</b>"); + msgText = msgText + "<br/><b>" + tr("The following error occurred:") + "</b><br/>" + reply->errorString() + + "<br/><br/><b>" + tr("Please check your internet connection.") + "</b>"; } else { //No network error QString response(reply->readAll()); |