mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Don't start two drags.
Problem was that the SourceTreeView called setEnableMouseTracking( true ) which means that it will get more events than we want. We don't need mouse move events when no button is pressed anyway.
This commit is contained in:
@@ -29,7 +29,6 @@ SourceTreeView::SourceTreeView( QWidget* parent )
|
|||||||
setDragDropMode( QAbstractItemView::DropOnly );
|
setDragDropMode( QAbstractItemView::DropOnly );
|
||||||
setAcceptDrops( true );
|
setAcceptDrops( true );
|
||||||
setDropIndicatorShown( false );
|
setDropIndicatorShown( false );
|
||||||
setMouseTracking( true );
|
|
||||||
setAllColumnsShowFocus( false );
|
setAllColumnsShowFocus( false );
|
||||||
|
|
||||||
setupMenus();
|
setupMenus();
|
||||||
|
Reference in New Issue
Block a user