From e5ac1cc82d832f0515364fdb3f02f03bdea8870e Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Sat, 3 Jan 2026 15:48:06 +0100 Subject: Add executable setting to minimize MO2 to the system tray while running (#2313) --- src/executableslist.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/executableslist.h') diff --git a/src/executableslist.h b/src/executableslist.h index 21a30056..d3d31f92 100644 --- a/src/executableslist.h +++ b/src/executableslist.h @@ -43,9 +43,10 @@ class Executable public: enum Flag { - ShowInToolbar = 0x02, - UseApplicationIcon = 0x04, - Hide = 0x08 + ShowInToolbar = 0x02, + UseApplicationIcon = 0x04, + Hide = 0x08, + MinimizeToSystemTray = 0x16 }; Q_DECLARE_FLAGS(Flags, Flag); @@ -74,6 +75,7 @@ public: bool isShownOnToolbar() const; void setShownOnToolbar(bool state); bool usesOwnIcon() const; + bool minimizeToSystemTray() const; bool hide() const; void mergeFrom(const Executable& other); -- cgit v1.3.1