]> git.sur5r.net Git - minitube/commitdiff
Removed top shadow
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 3 Aug 2015 12:22:14 +0000 (14:22 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 3 Aug 2015 12:22:14 +0000 (14:22 +0200)
src/playlistview.cpp
src/playlistview.h

index 302c91ba8108896b0e8f4e34ce276d8f44e18e99..a5184a47f13a38049bea2540bf1a45e1e9edcdf9 100644 (file)
@@ -139,10 +139,3 @@ bool PlaylistView::isShowMoreItem(const QModelIndex &index) {
     return model()->rowCount() > 1 &&
             model()->rowCount() == index.row() + 1;
 }
-
-void PlaylistView::paintEvent(QPaintEvent *event) {
-    QListView::paintEvent(event);
-#ifndef APP_UBUNTU
-    // PainterUtils::topShadow(viewport());
-#endif
-}
index d40fc997f0b1320ed5c088d53a39efd21b71f520..63b76e1cc86502f68cc07d1576f1064944459f4f 100644 (file)
@@ -39,7 +39,6 @@ protected:
     void mouseMoveEvent(QMouseEvent *event);
     void mousePressEvent(QMouseEvent *event);
     void mouseReleaseEvent(QMouseEvent *event);
-    void paintEvent(QPaintEvent *event);
 
 signals:
     void authorPushed(QModelIndex index);