Fix current track highlight in grouped view under windows for header item.

This commit is contained in:
craig.p.drummond
2014-10-01 17:46:54 +00:00
committed by craig.p.drummond
parent cd69848189
commit 69042fee5b
2 changed files with 2 additions and 1 deletions

View File

@@ -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
-----

View File

@@ -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