Gui: Fixed wrong button on Help messaage box - issue #6514

This commit is contained in:
Yorik van Havre
2022-03-30 10:28:27 +02:00
parent 650b2f3073
commit 8a55c797ab

View File

@@ -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);