mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 04:19:55 +01:00
Oops, only set the proxy style on the small sidebar
This commit is contained in:
parent
c376ad4217
commit
683b882461
7
3rdparty/fancytabwidget/fancytabwidget.cpp
vendored
7
3rdparty/fancytabwidget/fancytabwidget.cpp
vendored
@ -663,8 +663,11 @@ void FancyTabWidget::MakeTabBar(QTabBar::Shape shape, bool text, bool icons) {
|
||||
QTabBar* bar = new QTabBar(this);
|
||||
bar->setShape(shape);
|
||||
bar->setDocumentMode(true);
|
||||
bar->setIconSize(QSize(22, 22));
|
||||
bar->setStyle(proxy_style_.get());
|
||||
|
||||
if (shape == QTabBar::RoundedWest) {
|
||||
bar->setStyle(proxy_style_.get());
|
||||
bar->setIconSize(QSize(22, 22));
|
||||
}
|
||||
|
||||
if (shape == QTabBar::RoundedNorth)
|
||||
top_layout_->insertWidget(0, bar);
|
||||
|
Loading…
Reference in New Issue
Block a user