From 8a55c797ab51aaa3d5ef89a65de63d98d1ec2b14 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 30 Mar 2022 10:28:27 +0200 Subject: [PATCH] Gui: Fixed wrong button on Help messaage box - issue #6514 --- src/Gui/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index da07ab1b9a..347a598130 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -704,8 +704,8 @@ void MainWindow::showDocumentation(const QString& help) QUrl url(help); if (url.scheme().isEmpty()) { QMessageBox::critical(getMainWindow(), tr("Help addon needed!"), - tr("The Help system of %s is now handled by the \"Help\" addon. " - "Install it with menu Tools > Addons Manager"),qApp->applicationName()); + tr("The Help system of %1 is now handled by the \"Help\" addon. " + "Install it with menu Tools > Addons Manager").arg(QString(qApp->applicationName()))); } else { QDesktopServices::openUrl(url);