aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/LSysTray.h
diff options
context:
space:
mode:
authorwi <william.os4y@gmail.com>2015-04-15 21:52:02 +0200
committerwi <william.os4y@gmail.com>2015-04-15 21:52:02 +0200
commitfb397d589e02a59f5c6cfc90cb52769df01412a9 (patch)
tree7a0320eff2708591bbac68a3241441eca5f2f9f3 /lumina-desktop/panel-plugins/systemtray/LSysTray.h
parentCorrections proposed by Ken (diff)
parentClean up a *lot* of the general XCB warnings that sometimes occur, and also t... (diff)
downloadlumina-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.h7
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;
bgstack15