UI: Options: Tray: Animate alert by default

This commit is contained in:
Nodir Temirkhodjaev 2023-05-27 16:20:21 +03:00
parent 35ffa1ce10
commit 495d1746b4

View File

@ -47,8 +47,8 @@ public:
bool trayShowIcon() const { return valueBool("tray/showIcon", true); } bool trayShowIcon() const { return valueBool("tray/showIcon", true); }
void setTrayShowIcon(bool v) { setValue("tray/showIcon", v, true); } void setTrayShowIcon(bool v) { setValue("tray/showIcon", v, true); }
bool trayAnimateAlert() const { return valueBool("tray/animateAlert"); } bool trayAnimateAlert() const { return valueBool("tray/animateAlert", true); }
void setTrayAnimateAlert(bool v) { setValue("tray/animateAlert", v); } void setTrayAnimateAlert(bool v) { setValue("tray/animateAlert", v, true); }
QString trayAction(const QString &event) const { return valueText("tray/" + event); } QString trayAction(const QString &event) const { return valueText("tray/" + event); }
void setTrayAction(const QString &event, const QString &v) { setValue("tray/" + event, v); } void setTrayAction(const QString &event, const QString &v) { setValue("tray/" + event, v); }