From 957043e2ca28551ce716a82ff89f368030063deb Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Wed, 22 Jul 2015 17:53:57 +0200 Subject: [PATCH] Remove top shadows --- src/channelview.cpp | 2 +- src/downloadlistview.cpp | 2 +- src/playlistview.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/channelview.cpp b/src/channelview.cpp index 205618a..578e7fe 100644 --- a/src/channelview.cpp +++ b/src/channelview.cpp @@ -274,7 +274,7 @@ void ChannelView::paintEvent(QPaintEvent *event) { "Use the star symbol to subscribe to channels."); PainterUtils::centeredMessage(msg, viewport()); } else QListView::paintEvent(event); - PainterUtils::topShadow(viewport()); + // PainterUtils::topShadow(viewport()); } void ChannelView::toggleShowUpdated(bool enable) { diff --git a/src/downloadlistview.cpp b/src/downloadlistview.cpp index 7a1fafd..58c31a4 100644 --- a/src/downloadlistview.cpp +++ b/src/downloadlistview.cpp @@ -81,5 +81,5 @@ bool DownloadListView::isHoveringPlayIcon(QMouseEvent *event) { void DownloadListView::paintEvent(QPaintEvent *event) { QListView::paintEvent(event); - PainterUtils::topShadow(viewport()); + // PainterUtils::topShadow(viewport()); } diff --git a/src/playlistview.cpp b/src/playlistview.cpp index ac67554..302c91b 100644 --- a/src/playlistview.cpp +++ b/src/playlistview.cpp @@ -142,7 +142,7 @@ bool PlaylistView::isShowMoreItem(const QModelIndex &index) { void PlaylistView::paintEvent(QPaintEvent *event) { QListView::paintEvent(event); -#ifndef Q_OS_LINUX - PainterUtils::topShadow(viewport()); +#ifndef APP_UBUNTU + // PainterUtils::topShadow(viewport()); #endif } -- 2.39.5