diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-07 19:06:36 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-07 19:06:36 -0400 |
commit | 24fb8bbc36c1c815191c6d7be1626e0973fc24b4 (patch) | |
tree | 593cbaea25b91c004d6a2d90f1920a4af2fbeeac /lumina-desktop/LDesktopPluginSpace.cpp | |
parent | Make sure that the user's local icon heirarchy is added to the fallback icon ... (diff) | |
download | lumina-24fb8bbc36c1c815191c6d7be1626e0973fc24b4.tar.gz lumina-24fb8bbc36c1c815191c6d7be1626e0973fc24b4.tar.bz2 lumina-24fb8bbc36c1c815191c6d7be1626e0973fc24b4.zip |
Get rid of an extra empty grid space between desktop items.
Diffstat (limited to 'lumina-desktop/LDesktopPluginSpace.cpp')
-rw-r--r-- | lumina-desktop/LDesktopPluginSpace.cpp | 4 |
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 } |