summaryrefslogtreecommitdiff
path: root/src/executableslist.h
diff options
context:
space:
mode:
authorJonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>2026-01-03 15:48:06 +0100
committerGitHub <noreply@github.com>2026-01-03 15:48:06 +0100
commite5ac1cc82d832f0515364fdb3f02f03bdea8870e (patch)
tree16c7499b254b75380fc9248be6a749cddf15dd04 /src/executableslist.h
parentd5bd9603c6ce4117cf98508616c72b702a760440 (diff)
Add executable setting to minimize MO2 to the system tray while running (#2313)
Diffstat (limited to 'src/executableslist.h')
-rw-r--r--src/executableslist.h8
1 files changed, 5 insertions, 3 deletions
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);