From 683b8824611619999964c6f296e2727372703bed Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 10 Oct 2010 13:12:42 +0000 Subject: [PATCH] Oops, only set the proxy style on the small sidebar --- 3rdparty/fancytabwidget/fancytabwidget.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/3rdparty/fancytabwidget/fancytabwidget.cpp b/3rdparty/fancytabwidget/fancytabwidget.cpp index 106e197a0..bc96962ea 100644 --- a/3rdparty/fancytabwidget/fancytabwidget.cpp +++ b/3rdparty/fancytabwidget/fancytabwidget.cpp @@ -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);