diff --git a/src/data/hosts/megadb.py b/src/data/hosts/megadb.py index e46f74b..7e8c413 100644 --- a/src/data/hosts/megadb.py +++ b/src/data/hosts/megadb.py @@ -17,7 +17,6 @@ def show_megadb_notification(): notification_popup.setTextFormat(Qt.TextFormat.RichText) notification_popup.setTextInteractionFlags(Qt.TextInteractionFlag.TextBrowserInteraction) notification_popup.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground) - notification_popup.setWindowModality(Qt.WindowModality.ApplicationModal) button = notification_popup.addButton("Don't show again", QMessageBox.ButtonRole.AcceptRole) button.clicked.connect(lambda: setattr(state, "show_megadb_notification", False)) save_settings(show_megadb_notification=False) diff --git a/src/interface/dialogs/notificationpopup.py b/src/interface/dialogs/notificationpopup.py index 811e262..baf9f67 100644 --- a/src/interface/dialogs/notificationpopup.py +++ b/src/interface/dialogs/notificationpopup.py @@ -1,12 +1,9 @@ from PySide6.QtWidgets import QMessageBox -import qdarktheme class NotificationPopup(QMessageBox): def __init__(self, title, text, infotext=None, parent=None): super().__init__(parent) - qdarktheme.setup_theme("auto") - self.setIcon(QMessageBox.Icon.Information) self.setWindowTitle(title) self.setText(text)