From 495d1746b45828ac3a5a2d66e29cc595f2566787 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 27 May 2023 16:20:21 +0300 Subject: [PATCH] UI: Options: Tray: Animate alert by default --- src/ui/user/iniuser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/user/iniuser.h b/src/ui/user/iniuser.h index 3a9f9d71..a45aa201 100644 --- a/src/ui/user/iniuser.h +++ b/src/ui/user/iniuser.h @@ -47,8 +47,8 @@ public: bool trayShowIcon() const { return valueBool("tray/showIcon", true); } void setTrayShowIcon(bool v) { setValue("tray/showIcon", v, true); } - bool trayAnimateAlert() const { return valueBool("tray/animateAlert"); } - void setTrayAnimateAlert(bool v) { setValue("tray/animateAlert", v); } + bool trayAnimateAlert() const { return valueBool("tray/animateAlert", true); } + void setTrayAnimateAlert(bool v) { setValue("tray/animateAlert", v, true); } QString trayAction(const QString &event) const { return valueText("tray/" + event); } void setTrayAction(const QString &event, const QString &v) { setValue("tray/" + event, v); }