┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmanager.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-05-07 17:41:43 +0000
committerPeter Penz <[email protected]>2009-05-07 17:41:43 +0000
commit29699998ead6fc541dc9eaf81de27a261180f372 (patch)
treeaa579368a90104a3534fd473b2bdd0dae0278d68 /src/selectionmanager.cpp
parent6a0a4708c242642ef4e6b9d831792d336b9545a9 (diff)
Don't draw an alpha blended circle around the toggle selection. It looks less cluttered without it...
svn path=/trunk/KDE/kdebase/apps/; revision=964947
Diffstat (limited to 'src/selectionmanager.cpp')
-rw-r--r--src/selectionmanager.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/selectionmanager.cpp b/src/selectionmanager.cpp
index 7dd07e63e..dea4c1449 100644
--- a/src/selectionmanager.cpp
+++ b/src/selectionmanager.cpp
@@ -80,12 +80,7 @@ void SelectionManager::slotEntered(const QModelIndex& index)
}
const QRect rect = m_view->visualRect(index);
-
- // align the toggle on the bottom left of the item
- const int gap = 2;
- const int x = rect.left() + gap;
- const int y = rect.top() + gap;
- m_toggle->move(QPoint(x, y));
+ m_toggle->move(QPoint(rect.left(), rect.top()));
// increase the size of the toggle for large items
const int height = m_view->iconSize().height();