diff --git a/data/mainwindow.css b/data/mainwindow.css index ddaaf1abc..05c84724d 100644 --- a/data/mainwindow.css +++ b/data/mainwindow.css @@ -5,6 +5,7 @@ background-position: bottom right; background-repeat: none; background-clip: content; + alternate-background-color: %palette-alternate-base; } QToolButton { diff --git a/src/playlistview.cpp b/src/playlistview.cpp index 64e1d67c7..18e1b5639 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -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) {