diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2018-05-02 12:13:03 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2018-05-02 12:13:03 +0200 |
commit | bea08daa5d61e7cc3b12f6e1793cb22538ea0c9a (patch) | |
tree | 15f2d34675442807e07748baf7c75660fe3ef8b8 /src/trayicon.cpp | |
parent | a26a98c69ab21e1693fbc9567d38e9dfff56c3c6 (diff) |
Fallback (no trayicon) nullptr initialisation should fix #379
Diffstat (limited to 'src/trayicon.cpp')
-rw-r--r-- | src/trayicon.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/trayicon.cpp b/src/trayicon.cpp index 8c0f74ed..332d378a 100644 --- a/src/trayicon.cpp +++ b/src/trayicon.cpp @@ -31,6 +31,15 @@ TrayIcon::TrayIcon(QMainWindow *parent) { dbg() << "No tray icon for this OS possibly also not show options?"; isAllocated = false; + + showAction = nullptr; + hideAction = nullptr; + minimizeAction = nullptr; + maximizeAction = nullptr; + restoreAction = nullptr; + quitAction = nullptr; + sysTrayIcon = nullptr; + trayIconMenu = nullptr; } } |