]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.cpp
The drag&drop helper did not make the difference between the different kind of views...
[dolphin.git] / src / sidebartreeview.cpp
index 9ab10a0b26851f0aab0238650d7b1456b91b8e80..af676541a6b60a46c7cfbe7828b0dc6211a4b1f7 100644 (file)
@@ -155,7 +155,7 @@ void SidebarTreeView::paintEvent(QPaintEvent* event)
     // TODO: remove this code when the issue #160611 is solved in Qt 4.4
     if (m_dragging) {
         const QBrush& brush = palette().brush(QPalette::Normal, QPalette::Highlight);
-        DragAndDropHelper::drawHoverIndication(viewport(), m_dropRect, brush);
+        DragAndDropHelper::drawHoverIndication(this, m_dropRect, brush);
     }
 }