mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 04:19:55 +01:00
Enable alternating row colours for playlist... hackity hack.
Fixes issue #112
This commit is contained in:
parent
a64e5fb17e
commit
6b6ce0e582
@ -5,6 +5,7 @@
|
||||
background-position: bottom right;
|
||||
background-repeat: none;
|
||||
background-clip: content;
|
||||
alternate-background-color: %palette-alternate-base;
|
||||
}
|
||||
|
||||
QToolButton {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user