fix(services): 非UI组件转为QObject类

This commit is contained in:
DLmaster361
2025-05-30 21:06:39 +08:00
parent e3c4b2edc8
commit e7205ce0aa
2 changed files with 5 additions and 3 deletions

View File

@@ -34,8 +34,7 @@ from email.mime.text import MIMEText
from email.utils import formataddr
import requests
from PySide6.QtCore import Signal
from PySide6.QtWidgets import QWidget
from PySide6.QtCore import QObject, Signal
from loguru import logger
from plyer import notification
@@ -43,7 +42,7 @@ from app.core import Config
from app.services.security import Crypto
class Notification(QWidget):
class Notification(QObject):
push_info_bar = Signal(str, str, str, int)