From 739a7bc99c7f399a55f92ce240d5e96d972c5985 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Mon, 3 Aug 2015 14:22:14 +0200 Subject: [PATCH] Removed top shadow --- src/playlistview.cpp | 7 ------- src/playlistview.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/playlistview.cpp b/src/playlistview.cpp index 302c91b..a5184a4 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -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 -} diff --git a/src/playlistview.h b/src/playlistview.h index d40fc99..63b76e1 100644 --- a/src/playlistview.h +++ b/src/playlistview.h @@ -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); -- 2.39.5