From bce3a3ce6541c0afe6ca59143a3fadb157cbfaa0 Mon Sep 17 00:00:00 2001 From: GHDE Date: Sat, 22 Feb 2025 07:29:58 -0600 Subject: [PATCH] fixed openExternalLinks in DlbAbout (FreeCAD#16423) --- src/Gui/Dialogs/DlgAbout.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Gui/Dialogs/DlgAbout.cpp b/src/Gui/Dialogs/DlgAbout.cpp index 8a1808333f..9186620266 100644 --- a/src/Gui/Dialogs/DlgAbout.cpp +++ b/src/Gui/Dialogs/DlgAbout.cpp @@ -370,7 +370,7 @@ void AboutDialog::showCredits() ui->tabWidget->addTab(tab_credits, tr("Credits")); auto hlayout = new QVBoxLayout(tab_credits); auto textField = new QTextBrowser(tab_credits); - textField->setOpenExternalLinks(true); + textField->setOpenLinks(false); hlayout->addWidget(textField); QString creditsHTML = QStringLiteral("

"); @@ -429,7 +429,6 @@ void AboutDialog::showLicenseInformation() auto hlayout = new QVBoxLayout(tab_license); auto textField = new QTextBrowser(tab_license); textField->setOpenExternalLinks(true); - textField->setOpenLinks(true); hlayout->addWidget(textField); textField->setHtml(licenseHTML); @@ -466,8 +465,7 @@ void AboutDialog::showLibraryInformation() ui->tabWidget->addTab(tab_library, tr("Libraries")); auto hlayout = new QVBoxLayout(tab_library); auto textField = new QTextBrowser(tab_library); - textField->setOpenExternalLinks(false); - textField->setOpenLinks(false); + textField->setOpenExternalLinks(true); hlayout->addWidget(textField); QString baseurl = QStringLiteral("file:///%1/ThirdPartyLibraries.html")