From: Flavio Tordini Date: Mon, 3 Aug 2015 12:22:14 +0000 (+0200) Subject: Removed top shadow X-Git-Tag: 2.5~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=739a7bc99c7f399a55f92ce240d5e96d972c5985;p=minitube Removed top shadow --- 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);