mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Fix left panel style
This commit is contained in:
parent
d7c907d17d
commit
99557543fc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user