summaryrefslogtreecommitdiffstats
path: root/collectionwidget.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-17 11:01:09 +0100
committerArno <arno@disconnect.de>2018-02-17 11:01:09 +0100
commit3788e9c79550a7e1ac1b3b9e722a53e388db890f (patch)
treeb05022fd3295e5f7323c4afed93c4029fa16b264 /collectionwidget.cpp
parent8b3e1bcfbf90659c31b0d311359f2f66305631cf (diff)
downloadBeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.tar.gz
BeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.tar.bz2
BeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.zip
Restore alternating row colors
Diffstat (limited to 'collectionwidget.cpp')
-rw-r--r--collectionwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/collectionwidget.cpp b/collectionwidget.cpp
index a27041a..d665706 100644
--- a/collectionwidget.cpp
+++ b/collectionwidget.cpp
@@ -12,6 +12,7 @@ CollectionWidget::CollectionWidget(QWidget *parent) : QWidget(parent){
mProxy->setSourceModel(mModel);
mView->setModel(mProxy);
mView->setSortingEnabled(true);
+ mView->setAlternatingRowColors(true);
QHBoxLayout *mainLayout = new QHBoxLayout;
mainLayout->addWidget(mView);
setLayout(mainLayout);