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:
@@ -219,6 +219,8 @@ SourceTreeView::dragMoveEvent( QDragMoveEvent* event )
|
||||
if ( !playlist.isNull() && playlist->author()->isLocal() )
|
||||
accept = true;
|
||||
}
|
||||
} else {
|
||||
m_dropRect = QRect();
|
||||
}
|
||||
|
||||
if ( accept )
|
||||
|
Reference in New Issue
Block a user