diff options
| author | Peter Penz <[email protected]> | 2007-11-19 21:55:33 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-11-19 21:55:33 +0000 |
| commit | ddacabc391ddfe95dff909a00946182dc15f9990 (patch) | |
| tree | b53b078e82622975f166a3de80a6905978bece2e /src/dolphiniconsview.cpp | |
| parent | 812994644982747d88fc34d6bfc53384bea36144 (diff) | |
fix minor margin issue for the item boundaries
svn path=/trunk/KDE/kdebase/apps/; revision=738873
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 0da9eb279..ea553c8be 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -145,7 +145,7 @@ QRect DolphinIconsView::visualRect(const QModelIndex& index) const // name is too long. I'll try create a patch for Qt but as Dolphin must also work with // Qt 4.3.0 this workaround must get applied at least for KDE 4.0. const IconsModeSettings* settings = DolphinSettings::instance().iconsModeSettings(); - const int margin = settings->gridSpacing() / 2; + const int margin = settings->gridSpacing(); const int gridWidth = gridSize().width(); const int gridIndex = (itemRect.left() - margin + 1) / gridWidth; itemRect.moveLeft(gridIndex * gridWidth + margin); |
