From cb1a9c12d5ed8aadebababc027c25154298b200a Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 6 Apr 2020 23:19:23 +0200 Subject: [PATCH] QtSupport: Fix HTML - and don't translate it Change-Id: I06fc0186af648047651ee5e69be9727cec69bd40 Reviewed-by: Eike Ziller Reviewed-by: Leena Miettinen --- src/plugins/qtsupport/qtoptionspage.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp index a53fb57c9db..00dc64af5fd 100644 --- a/src/plugins/qtsupport/qtoptionspage.cpp +++ b/src/plugins/qtsupport/qtoptionspage.cpp @@ -907,10 +907,11 @@ static bool validateQtInstallDir(FancyLineEdit *input, QString *errorString) [](const QString &dir) { return settingsFile(dir); }); - *errorString = QtOptionsPageWidget::tr( - "Qt installation information was not found in \"%1\". " - "Choose a directory that contains one of the files
%2
") - .arg(qtDir, filesToCheck.join('\n')); + *errorString = "" + QtOptionsPageWidget::tr( + "Qt installation information was not found in \"%1\". " + "Choose a directory that contains one of the files %2") + .arg(qtDir, "
" + filesToCheck.join('\n') + "
") + + ""; } return false; }