Add sponsor link to About dialog

Add a styled '❤️ Sponsor' GitHub Sponsors link to the About dialog (ytsage_dialogs_base.py). The change creates a QLabel with an external href to the sponsor page, enables openExternalLinks, and appends it to the info layout so the About dialog displays a sponsor call-to-action.
This commit is contained in:
oop7
2026-03-03 17:45:21 +02:00
parent c34f33cc7a
commit 4775f827a0
@@ -240,6 +240,11 @@ class AboutDialog(QDialog):
repo_label.setOpenExternalLinks(True)
info_layout.addWidget(repo_label)
sponsor_link = '<a href="https://github.com/sponsors/oop7" style="color: #ea4aaa; text-decoration: none; font-size: 10px; font-weight: bold;">❤️ Sponsor</a>'
sponsor_label = QLabel(sponsor_link)
sponsor_label.setOpenExternalLinks(True)
info_layout.addWidget(sponsor_label)
# Center the info layout
info_container = QHBoxLayout()
info_container.addStretch()