aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2018-10-01 15:12:12 -0400
committerKen Moore <moorekou@gmail.com>2018-10-01 15:12:12 -0400
commit716ba4b52ef78100804b4d0cba4215d03581f0e6 (patch)
treea9f27cf63acd561297342add03be8e8d8f7fcfe2
parentMake the GLX/Hybrid usage for compton a bit smarter. Still prefer glx-only if... (diff)
downloadlumina-716ba4b52ef78100804b4d0cba4215d03581f0e6.tar.gz
lumina-716ba4b52ef78100804b4d0cba4215d03581f0e6.tar.bz2
lumina-716ba4b52ef78100804b4d0cba4215d03581f0e6.zip
Just a bunch of whitespace fixes
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp12
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/systemtray/TrayIcon.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/src-qt5/core/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
index edd0a4eb..3a9d4840 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
@@ -25,7 +25,7 @@ LSysTray::LSysTray(QWidget *parent, QString id, bool horizontal) : LPPlugin(pare
isRunning = false; stopping = false; checking = false; pending = false;
QTimer::singleShot(100, this, SLOT(start()) );
//Also do one extra check a minute or so after startup (just in case something got missed in the initial flood of registrations)
- QTimer::singleShot(90000,this, SLOT(checkAll()) );
+ QTimer::singleShot(90000,this, SLOT(checkAll()) );
connect(LSession::handle(), SIGNAL(TrayListChanged()), this, SLOT(checkAll()) );
connect(LSession::handle(), SIGNAL(TrayIconChanged(WId)), this, SLOT(UpdateTrayWindow(WId)) );
connect(LSession::handle(), SIGNAL(VisualTrayAvailable()), this, SLOT(start()) );
@@ -41,9 +41,9 @@ void LSysTray::start(){
if(isRunning || stopping){ return; } //already running
isRunning = LSession::handle()->registerVisualTray(this->winId());
qDebug() << "Visual Tray Started:" << this->type() << isRunning;
- if(isRunning){
+ if(isRunning){
//upTimer->start();
- QTimer::singleShot(0,this, SLOT(checkAll()) );
+ QTimer::singleShot(0,this, SLOT(checkAll()) );
}
}
@@ -60,7 +60,7 @@ void LSysTray::stop(){
//Release all the tray applications and delete the containers
if( !LSession::handle()->currentTrayApps(this->winId()).isEmpty() ){
qDebug() << " - Remove tray applications";
- //This overall system tray is not closed down - go ahead and release them here
+ //This overall system tray is not closed down - go ahead and release them here
for(int i=(trayIcons.length()-1); i>=0; i--){
trayIcons[i]->detachApp();
TrayIcon *cont = trayIcons.takeAt(i);
@@ -132,9 +132,9 @@ void LSysTray::checkAll(){
//LSession::processEvents();
//qDebug() << " - Attach tray app";
cont->attachApp(wins[i]);
- if(cont->appID()==0){
+ if(cont->appID()==0){
//could not attach window - remove the widget
- qDebug() << " - Invalid Tray App: Could Not Embed:";
+ qDebug() << " - Invalid Tray App: Could Not Embed:";
trayIcons.takeAt(trayIcons.length()-1); //Always at the end
LI->removeWidget(cont);
cont->deleteLater();
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemtray/TrayIcon.h b/src-qt5/core/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
index e9c6e4d9..feba153e 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
+++ b/src-qt5/core/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
@@ -43,7 +43,7 @@ public slots:
private:
WId IID, AID; //icon ID and app ID
int badpaints;
- uint dmgID;
+ uint dmgID;
int scalefactor;
protected:
bgstack15