Add distribution home_url to welcome page

This commit is contained in:
Silvan Calarco 2022-06-19 19:16:18 +02:00
parent 4918d977bd
commit f892d19c65

View File

@ -22,7 +22,9 @@ class MambabaseWizard(QtWidgets.QWizard):
def __init__(self, parent=None):
super(MambabaseWizard, self).__init__(parent)
self.welcomePage = WelcomePage(self)
self.welcomePage.distroInfoLabel.setText(distro.name(pretty=True))
self.welcomePage.distroInfoLabel.setText(distro.name(pretty=True) +
"<br/><br/><a href=\""+distro.os_release_info()['home_url']+
"\">" + distro.os_release_info()['home_url'] + "</a>")
self.welcomePage.mainTextLabel.setText(
self.welcomePage.mainTextLabel.text().format(distro.name()))
self.addPage(self.welcomePage)