1
0
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:
Leo Franchi
2010-10-22 16:05:30 -04:00
parent 3a2a6157ce
commit 170f1fb408

View File

@@ -29,7 +29,6 @@ SourceTreeView::SourceTreeView( QWidget* parent )
setDragDropMode( QAbstractItemView::DropOnly );
setAcceptDrops( true );
setDropIndicatorShown( false );
setMouseTracking( true );
setAllColumnsShowFocus( false );
setupMenus();