mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +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() )
|
if ( !playlist.isNull() && playlist->author()->isLocal() )
|
||||||
accept = true;
|
accept = true;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
m_dropRect = QRect();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( accept )
|
if ( accept )
|
||||||
|
Reference in New Issue
Block a user