fix(services): 非UI组件转为QObject类
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
"4.3.9.1": {
|
||||
"修复bug": [
|
||||
"网络模块支持并发请求"
|
||||
],
|
||||
"程序优化": [
|
||||
"非UI组件转为QObject类"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user