fixed openExternalLinks in DlbAbout (FreeCAD#16423)
This commit is contained in:
@@ -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("<html><body><p>");
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user