diff options
author | Arno <arno@disconnect.de> | 2018-02-17 11:01:09 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-17 11:01:09 +0100 |
commit | 3788e9c79550a7e1ac1b3b9e722a53e388db890f (patch) | |
tree | b05022fd3295e5f7323c4afed93c4029fa16b264 /collectionwidget.cpp | |
parent | 8b3e1bcfbf90659c31b0d311359f2f66305631cf (diff) | |
download | BeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.tar.gz BeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.tar.bz2 BeetPlayer-3788e9c79550a7e1ac1b3b9e722a53e388db890f.zip |
Restore alternating row colors
Diffstat (limited to 'collectionwidget.cpp')
-rw-r--r-- | collectionwidget.cpp | 1 |
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); |