aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LDesktopPluginSpace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/LDesktopPluginSpace.cpp')
-rw-r--r--lumina-desktop/LDesktopPluginSpace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/LDesktopPluginSpace.cpp b/lumina-desktop/LDesktopPluginSpace.cpp
index 21ed3f46..243afd24 100644
--- a/lumina-desktop/LDesktopPluginSpace.cpp
+++ b/lumina-desktop/LDesktopPluginSpace.cpp
@@ -145,7 +145,7 @@ QPoint LDesktopPluginSpace::findOpenSpot(int gridwidth, int gridheight, int star
}
}
if(ok){ pt = QPoint(col,row); found = true; } //found an open spot
- row++;
+ //else{ row++; }
}
if(!found){ col++; row=0; } //go to the next column
}
@@ -164,7 +164,7 @@ QPoint LDesktopPluginSpace::findOpenSpot(int gridwidth, int gridheight, int star
}
}
if(ok){ pt = QPoint(col,row); found = true; } //found an open spot
- else{ col++; }
+ //else{ col++; }
}
if(!found){ row++; col=0;} //go to the next row
}
bgstack15