wip notification theme

This commit is contained in:
2026-06-06 18:39:32 +02:00
parent 7b16cda29a
commit d95abc00e6
@@ -63,7 +63,7 @@ LIGHT_PALETTE = {
def _connect_theme_change(slot) -> None:
"""Connect *slot* to the available application theme-change signals."""
"""Connect *slot* to the application theme-change signal."""
qapp = QApplication.instance()
if qapp is None:
return
@@ -72,10 +72,6 @@ def _connect_theme_change(slot) -> None:
if hasattr(theme, "theme_changed"):
theme.theme_changed.connect(slot)
legacy_signal = getattr(qapp, "theme_signal", None)
if hasattr(legacy_signal, "theme_updated"):
legacy_signal.theme_updated.connect(slot)
class NotificationToast(QFrame):
"""