From 99557543fc3a9eaf7fe2e6bf312f7472b1caaa66 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 20 May 2012 19:09:04 +0300 Subject: [PATCH] Fix left panel style --- src/transferlistfilterswidget.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/transferlistfilterswidget.h b/src/transferlistfilterswidget.h index 8511b7343..bc42d31d2 100644 --- a/src/transferlistfilterswidget.h +++ b/src/transferlistfilterswidget.h @@ -64,8 +64,7 @@ public: // Accept drop setAcceptDrops(true); setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); - setAttribute(Qt::WA_NoSystemBackground, true); - setStyleSheet("background: transparent"); + setStyleSheet("QListWidget { background: transparent; border: 0 }"); } // Redefine addItem() to make sure the list stays sorted @@ -162,7 +161,7 @@ public: setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); // Height is fixed (sizeHint().height() is used) setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); - setStyleSheet("background: transparent"); + setStyleSheet("QListWidget { background: transparent; border: 0 }"); } protected: