]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/selectionmanager.cpp
remove unused method (relict from times when KFilePreviewGenerator was not available)
[dolphin.git] / src / selectionmanager.cpp
index 7dd07e63efa42337db2fb2759a0fee978bfdfbd0..dea4c144998ed21b7b41cbd88ff062cd1ce3d502 100644 (file)
@@ -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();