fix: steamrip scraper freezing whole manager on second search and update notification popup settings and improve megadb notification handling

This commit is contained in:
Vxrtrauter
2026-04-10 19:25:18 +02:00
parent 9715043936
commit e54b3362f9
3 changed files with 15 additions and 8 deletions
+5 -1
View File
@@ -1,4 +1,5 @@
from PySide6.QtWidgets import QMessageBox
from utils.data.state import state
import qdarktheme
class NotificationPopup(QMessageBox):
@@ -6,7 +7,10 @@ class NotificationPopup(QMessageBox):
super().__init__(parent)
if darkmode is True:
qdarktheme.setup_theme("auto")
custom_colors = {}
if state.accent_color:
custom_colors["primary"] = state.accent_color
qdarktheme.setup_theme("auto", custom_colors=custom_colors if custom_colors else None)
self.setIcon(QMessageBox.Icon.Information)
self.setWindowTitle(title)