mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +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-position: bottom right;
|
||||||
background-repeat: none;
|
background-repeat: none;
|
||||||
background-clip: content;
|
background-clip: content;
|
||||||
|
alternate-background-color: %palette-alternate-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton {
|
QToolButton {
|
||||||
|
@ -197,6 +197,8 @@ PlaylistView::PlaylistView(QWidget *parent)
|
|||||||
|
|
||||||
glow_timer_->setInterval(1500 / kGlowIntensitySteps);
|
glow_timer_->setInterval(1500 / kGlowIntensitySteps);
|
||||||
connect(glow_timer_, SIGNAL(timeout()), SLOT(GlowIntensityChanged()));
|
connect(glow_timer_, SIGNAL(timeout()), SLOT(GlowIntensityChanged()));
|
||||||
|
|
||||||
|
setAlternatingRowColors(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaylistView::setModel(QAbstractItemModel *model) {
|
void PlaylistView::setModel(QAbstractItemModel *model) {
|
||||||
|
Loading…
Reference in New Issue
Block a user