]> git.sur5r.net Git - minitube/commitdiff
No alternating colors
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 2 Sep 2015 09:19:14 +0000 (11:19 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 2 Sep 2015 09:19:14 +0000 (11:19 +0200)
src/downloadview.cpp

index 6d0c75cadaa70be9cfce5eed857539605374f044..b7b9a947d61ac5675ff608c1386cfe873840f7aa 100644 (file)
@@ -40,14 +40,6 @@ DownloadView::DownloadView(QWidget *parent) : View(parent) {
     layout->addWidget(bar);
 
     listView = new DownloadListView(this);
-#ifdef APP_MAC
-    listView->setAlternatingRowColors(true);
-#endif
-    /*
-    QPalette p = listView->palette();
-    p.setColor(QPalette::Base, palette().color(QPalette::Window));
-    listView->setPalette(p);
-    */
     PlaylistItemDelegate *delegate = new PlaylistItemDelegate(this, true);
     listView->setItemDelegate(delegate);
     listView->setSelectionMode(QAbstractItemView::NoSelection);