1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

reset draw rect to zero when index isn't valid, else we keep drawing a shadow

This commit is contained in:
Leo Franchi
2010-10-22 16:38:15 -04:00
parent 0cd86da686
commit eb6b7e49a2

View File

@@ -219,6 +219,8 @@ SourceTreeView::dragMoveEvent( QDragMoveEvent* event )
if ( !playlist.isNull() && playlist->author()->isLocal() )
accept = true;
}
} else {
m_dropRect = QRect();
}
if ( accept )