Fix current track highlight in grouped view under windows for header item.
This commit is contained in:
committed by
craig.p.drummond
parent
cd69848189
commit
69042fee5b
@@ -67,6 +67,7 @@
|
||||
46. Connect MPRIS stopAfterCurrent signal to correct action.
|
||||
47. Add prev/play/pause/etc actions to Unity launcher, and to windows taskbar
|
||||
entry.
|
||||
48. Fix current track highlight in grouped view under windows for header item.
|
||||
|
||||
1.4.2
|
||||
-----
|
||||
|
||||
@@ -338,7 +338,7 @@ public:
|
||||
if (state && GroupedView::State_StopAfterTrack!=state) {
|
||||
QRectF border(option.rect.x()+1.5, option.rect.y()+1.5, option.rect.width()-3, option.rect.height()-3);
|
||||
if (!title.isEmpty()) {
|
||||
border.adjust(0, textHeight+constBorder, 0, 0);
|
||||
border.adjust(0, (border.height()/2)+1, 0, 0);
|
||||
}
|
||||
QLinearGradient g(border.topLeft(), border.bottomLeft());
|
||||
#ifdef Q_OS_MAC
|
||||
|
||||
Reference in New Issue
Block a user