[GUI] Remove code for Qt < 5.9
This commit is contained in:
@@ -652,7 +652,6 @@ void AboutDialog::showCollectionInformation()
|
||||
|
||||
void AboutDialog::linkActivated(const QUrl& link)
|
||||
{
|
||||
//#if defined(Q_OS_WIN) && QT_VERSION < 0x050602
|
||||
LicenseView* licenseView = new LicenseView();
|
||||
licenseView->setAttribute(Qt::WA_DeleteOnClose);
|
||||
licenseView->show();
|
||||
@@ -665,9 +664,6 @@ void AboutDialog::linkActivated(const QUrl& link)
|
||||
licenseView->setWindowTitle(title);
|
||||
getMainWindow()->addWindow(licenseView);
|
||||
licenseView->setSource(link);
|
||||
//#else
|
||||
// QDesktopServices::openUrl(link);
|
||||
//#endif
|
||||
}
|
||||
|
||||
void AboutDialog::on_copyButton_clicked()
|
||||
|
||||
Reference in New Issue
Block a user