From: Flavio Tordini Date: Wed, 22 Jul 2015 15:53:57 +0000 (+0200) Subject: Remove top shadows X-Git-Tag: 2.5~70 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=957043e2ca28551ce716a82ff89f368030063deb;p=minitube Remove top shadows --- 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 }