diff options
author | wi <william.os4y@gmail.com> | 2015-04-15 21:52:02 +0200 |
---|---|---|
committer | wi <william.os4y@gmail.com> | 2015-04-15 21:52:02 +0200 |
commit | fb397d589e02a59f5c6cfc90cb52769df01412a9 (patch) | |
tree | 7a0320eff2708591bbac68a3241441eca5f2f9f3 /lumina-desktop/panel-plugins/systemtray/LSysTray.h | |
parent | Corrections proposed by Ken (diff) | |
parent | Clean up a *lot* of the general XCB warnings that sometimes occur, and also t... (diff) | |
download | lumina-fb397d589e02a59f5c6cfc90cb52769df01412a9.tar.gz lumina-fb397d589e02a59f5c6cfc90cb52769df01412a9.tar.bz2 lumina-fb397d589e02a59f5c6cfc90cb52769df01412a9.zip |
Merge remote-tracking branch 'upstream/master' into deskEditor
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; |