diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-15 13:43:09 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-15 13:43:09 -0400 |
commit | 9b6800e8acc5dc802f8bd5e31b1892914b568f6e (patch) | |
tree | 9d27d1f66cdf5ab67279803ce249ad15ae8d52cf /lumina-desktop/panel-plugins/systemtray/LSysTray.h | |
parent | Don't add the "LUMINA" tag to the name of Lumina-specific applications. (diff) | |
download | lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.gz lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.bz2 lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.zip |
Clean up a *lot* of the general XCB warnings that sometimes occur, and also tinker with the session cleanup routine quite a bit to streamline the order in which things are closed down (particularly with system tray apps).
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; |