Enable alternating row colours for playlist... hackity hack.

Fixes issue #112
This commit is contained in:
John Maguire 2010-03-25 11:38:28 +00:00
parent a64e5fb17e
commit 6b6ce0e582
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
background-position: bottom right;
background-repeat: none;
background-clip: content;
alternate-background-color: %palette-alternate-base;
}
QToolButton {

View File

@ -197,6 +197,8 @@ PlaylistView::PlaylistView(QWidget *parent)
glow_timer_->setInterval(1500 / kGlowIntensitySteps);
connect(glow_timer_, SIGNAL(timeout()), SLOT(GlowIntensityChanged()));
setAlternatingRowColors(true);
}
void PlaylistView::setModel(QAbstractItemModel *model) {