From c06e0e05da2a9328fc3642aac84d886d62f84840 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Thu, 5 Mar 2026 07:54:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(ALMainWindow):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=9A=84=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=9B=BE=E6=A0=87=E4=B8=8E=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/ALMainWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/ALMainWindow.py b/src/gui/ALMainWindow.py index 2b066be..50df49d 100644 --- a/src/gui/ALMainWindow.py +++ b/src/gui/ALMainWindow.py @@ -325,7 +325,7 @@ class ALMainWindow(MsgBase, QMainWindow, Ui_ALMainWindow): self.TrayIcon.showMessage( "定时任务 - AutoLibrary", f"\n定时任务 '{timer_task['name']}' 执行{'失败' if is_error else '完成'}", - QSystemTrayIcon.MessageIcon.Information, + QSystemTrayIcon.MessageIcon.Warning if is_error else QSystemTrayIcon.MessageIcon.Information, 1000 ) self._showTrace(