]> git.sur5r.net Git - minitube/commitdiff
Remove top shadows
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 22 Jul 2015 15:53:57 +0000 (17:53 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 22 Jul 2015 15:53:57 +0000 (17:53 +0200)
src/channelview.cpp
src/downloadlistview.cpp
src/playlistview.cpp

index 205618ac8f0d40226535e569dd7bb133fa8a8ef1..578e7fe12529ab50aaddbbeba1fb08d471b0f38e 100644 (file)
@@ -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) {
index 7a1fafd4c34ebb59c0ac0da291f83c43e0abaea9..58c31a4dc4c7bbb241d108a2fdd8c1ed6bb1c5d8 100644 (file)
@@ -81,5 +81,5 @@ bool DownloadListView::isHoveringPlayIcon(QMouseEvent *event) {
 
 void DownloadListView::paintEvent(QPaintEvent *event) {
     QListView::paintEvent(event);
-    PainterUtils::topShadow(viewport());
+    // PainterUtils::topShadow(viewport());
 }
index ac6755460317135d9b117c0920e0f661fc33cc7e..302c91ba8108896b0e8f4e34ce276d8f44e18e99 100644 (file)
@@ -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
 }