diff options
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/LSysTray.h')
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.h b/lumina-desktop/panel-plugins/systemtray/LSysTray.h index 1b482ef7..786ca730 100644 --- a/lumina-desktop/panel-plugins/systemtray/LSysTray.h +++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.h @@ -1,6 +1,6 @@ //=========================================== // Lumina-DE source code -// Copyright (c) 2012, Ken Moore +// Copyright (c) 2012-2015, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== @@ -12,7 +12,6 @@ #include <QHBoxLayout> #include <QDebug> #include <QX11Info> -//#include <QX11EmbedContainer> #include <QCoreApplication> //Local includes @@ -30,6 +29,10 @@ public: LSysTray(QWidget *parent = 0, QString id="systemtray", bool horizontal=true); ~LSysTray(); + virtual void AboutToClose(){ + this->stop(); + } + private: bool isRunning, stopping, checking; QList<TrayIcon*> trayIcons; |