fix: notification popup for megadb being black on windows

This commit is contained in:
2026-04-10 19:02:51 +02:00
parent 761158746f
commit 9715043936
+1
View File
@@ -19,6 +19,7 @@ def show_megadb_notification():
)
notification_popup.setTextFormat(Qt.TextFormat.RichText)
notification_popup.setTextInteractionFlags(Qt.TextInteractionFlag.TextBrowserInteraction)
if state.window_transparency is True:
notification_popup.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
button = notification_popup.addButton("Don't show again", QMessageBox.ButtonRole.AcceptRole)
button.clicked.connect(lambda: setattr(state, "show_megadb_notification", False))