Enable mouse-tracking for all list/tree views.
BUG:28
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
1087e36433
commit
7c893bba51
@@ -33,6 +33,7 @@
|
||||
19. Fix genre filtering in albums view - filter was not updated when genre was
|
||||
changed.
|
||||
20. Fix background painting in lyrics view for non-oxygen styles.
|
||||
21. Enable mouse-tracking for all list/tree views.
|
||||
|
||||
0.7.1
|
||||
-----
|
||||
|
||||
@@ -37,6 +37,7 @@ ListView::ListView(QWidget *parent)
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
setAlternatingRowColors(true);
|
||||
setUniformItemSizes(true);
|
||||
setAttribute(Qt::WA_MouseTracking);
|
||||
}
|
||||
|
||||
ListView::~ListView()
|
||||
|
||||
@@ -37,6 +37,7 @@ TreeView::TreeView(QWidget *parent)
|
||||
setAlternatingRowColors(true);
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
setAttribute(Qt::WA_MouseTracking);
|
||||
}
|
||||
|
||||
TreeView::~TreeView()
|
||||
|
||||
Reference in New Issue
Block a user