From 06ce8dd8bd91530b2b2c81e2507cd6ec3a18f9e2 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 14 Nov 2017 14:02:20 +0100 Subject: [PATCH] Wizard: Add explanation text when server error is shown #6157 Just showing a box with the message can be surprising. --- src/gui/owncloudsetupwizard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index f1e773f86..9ca60b1d0 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -294,7 +294,8 @@ void OwncloudSetupWizard::slotNoServerFound(QNetworkReply *reply) QString serverError = reply->peek(1024 * 20); qCDebug(lcWizard) << serverError; QMessageBox messageBox(_ocWizard); - messageBox.setText(serverError); + messageBox.setText(tr("The server reported the following error:")); + messageBox.setInformativeText(serverError); messageBox.addButton(QMessageBox::Ok); messageBox.setTextFormat(Qt::RichText); messageBox.exec();