1
0
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:
David Sansome 2010-10-10 13:12:42 +00:00
parent c376ad4217
commit 683b882461

View File

@ -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);