Remove unused LibraryInfo class
This commit is contained in:
committed by
Chris Hennes
parent
a0e70e0d6f
commit
56ae35b0f2
@@ -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()
|
||||
|
||||
@@ -116,7 +116,6 @@ protected:
|
||||
|
||||
private:
|
||||
Ui_AboutApplication* ui;
|
||||
class LibraryInfo;
|
||||
};
|
||||
|
||||
} // namespace Dialog
|
||||
|
||||
Reference in New Issue
Block a user