aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/LDesktop.cpp10
-rw-r--r--lumina-desktop/lumina-desktop.pro2
2 files changed, 6 insertions, 6 deletions
diff --git a/lumina-desktop/LDesktop.cpp b/lumina-desktop/LDesktop.cpp
index c51f5de0..2b661110 100644
--- a/lumina-desktop/LDesktop.cpp
+++ b/lumina-desktop/LDesktop.cpp
@@ -303,12 +303,12 @@ void LDesktop::DesktopPluginRemoved(QString ID){
//qDebug() << "- found ID";
//Delete the plugin container first
QList<QMdiSubWindow*> wins = bgDesktop->subWindowList();
- for(int i=0; i<wins.length(); i++){
- if(wins[i]->whatsThis()==ID || wins[i]->whatsThis().isEmpty()){
+ for(int j=0; j<wins.length(); j++){
+ if(wins[j]->whatsThis()==ID || wins[j]->whatsThis().isEmpty()){
//wins[i]->setWhatsThis(""); //clear this so it knows it is being temporarily removed
- bgDesktop->removeSubWindow(wins[i]->widget()); //unhook plugin from container
- bgDesktop->removeSubWindow(wins[i]); //remove container from screen
- delete wins[i]; //delete old container
+ bgDesktop->removeSubWindow(wins[j]->widget()); //unhook plugin from container
+ bgDesktop->removeSubWindow(wins[j]); //remove container from screen
+ delete wins[j]; //delete old container
}
}
//Now delete the plugin itself
diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro
index edc63010..f2fa139d 100644
--- a/lumina-desktop/lumina-desktop.pro
+++ b/lumina-desktop/lumina-desktop.pro
@@ -86,7 +86,7 @@ RESOURCES+= Lumina-DE.qrc
INCLUDEPATH += ../libLumina /usr/local/include
desktop.files = Lumina-DE.desktop
-linux-g++-64 {
+linux-* {
desktop.path = /usr/share/xsessions
} else {
desktop.path = /usr/local/share/xsessions
bgstack15