Remove unused LibraryInfo class

This commit is contained in:
Michael Fuchs
2024-10-18 19:01:29 +02:00
committed by Chris Hennes
parent a0e70e0d6f
commit 56ae35b0f2
2 changed files with 1 additions and 13 deletions

View File

@@ -454,14 +454,6 @@ void AboutDialog::setupLabels()
}
}
class AboutDialog::LibraryInfo {
public:
QString name;
QString href;
QString url;
QString version;
};
void AboutDialog::showCredits()
{
auto creditsFileURL = QLatin1String(":/doc/CONTRIBUTORS");
@@ -572,8 +564,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 = QString::fromLatin1("file:///%1/ThirdPartyLibraries.html")
@@ -581,8 +572,6 @@ void AboutDialog::showLibraryInformation()
QUrl librariesFileUrl = QUrl(baseurl);
textField->setSource(librariesFileUrl);
connect(textField, &QTextBrowser::anchorClicked, this, &AboutDialog::linkActivated);
}
void AboutDialog::showCollectionInformation()

View File

@@ -116,7 +116,6 @@ protected:
private:
Ui_AboutApplication* ui;
class LibraryInfo;
};
} // namespace Dialog