From 7ac8d4bf78ab2d67ab5ba0f3cb018d7165b213d9 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 7 Mar 2017 10:41:15 +0100 Subject: Use the new color settings, make it buunt! --- playerwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'playerwidget.cpp') diff --git a/playerwidget.cpp b/playerwidget.cpp index b454908..38e2eff 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -50,6 +50,7 @@ void PlayerWidget::setupGui(){ //THE view mView = new BeetView; + mView->setAlternatingRowColors(true); mViewModel = new QStandardItemModel; mView->setModel(mViewModel); mSearchModel = new QStandardItemModel; @@ -175,6 +176,7 @@ void PlayerWidget::setupGui(){ mPlayListModel = new QStandardItemModel; mPlayListModel->setHorizontalHeaderLabels(QStringList() << "Title"); mPlayListView = new BeetView; + mPlayListView->setAlternatingRowColors(true); mPlayListView->setModel(mPlayListModel); mPlayListView->setRootIsDecorated(false); mPlayListView->setSelectionMode(QAbstractItemView::ExtendedSelection); -- cgit v1.2.3-70-g09d2