diff options
author | Jesse Smith <jsmith@resonatingmedia.com> | 2015-05-21 12:16:56 -0300 |
---|---|---|
committer | Jesse Smith <jsmith@resonatingmedia.com> | 2015-05-21 12:16:56 -0300 |
commit | 15a00c13eb1159b746aa6dd16bf8ecd591f8edf0 (patch) | |
tree | 1a31ca3da8c4aff876826c0aa8b46a7103820d5f /lumina-desktop/panel-plugins/systemtray/LSysTray.cpp | |
parent | Update the included themes to ensure that the new Boot Splash is themed properly (diff) | |
download | lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.tar.gz lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.tar.bz2 lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.zip |
Very minor clean-up to avoid compiler warnings.
On a clean compile of the code I found two compiler warnings,
both indicating declarations of unused variables. In both cases
I think these variables were used for debugging, originally, and
are no longer needed. Their declarations have been removed.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/LSysTray.cpp')
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp index 74705b16..cb4752d6 100644 --- a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp +++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp @@ -94,7 +94,6 @@ void LSysTray::checkAll(){ //Make sure this tray should handle the windows (was not disabled in the backend) bool TrayRunning = LSession::handle()->registerVisualTray(this->winId()); //qDebug() << "System Tray: Check tray apps"; - bool listChanged = false; QList<WId> wins = LSession::handle()->currentTrayApps(this->winId()); for(int i=0; i<trayIcons.length(); i++){ int index = wins.indexOf(trayIcons[i]->appID()); @@ -105,7 +104,6 @@ void LSysTray::checkAll(){ LI->removeWidget(cont); delete cont; i--; //List size changed - listChanged = true; //Re-adjust the maximum widget size to account for what is left if(this->layout()->direction()==QBoxLayout::LeftToRight){ this->setMaximumSize( trayIcons.length()*this->height(), 10000); @@ -144,8 +142,6 @@ void LSysTray::checkAll(){ LI->removeWidget(cont); delete cont; continue; - }else{ - listChanged = true; } LI->update(); //make sure there is no blank space in the layout } |