https://bugs.kde.org/show_bug.cgi?id=363473

--- Comment #16 from RJVB <rjvber...@gmail.com> ---
(In reply to RJVB from comment #12)
> It wouldn't be possible to force a specific widget style on one particular
> widget class, perchance? Something like "QTabBar { style : Fusion }" ?

In fact it is:

```
diff --git a/sublime/container.cpp b/sublime/container.cpp
index b04f6c3..3deb21f 100644
--- a/sublime/container.cpp
+++ b/sublime/container.cpp
@@ -27,6 +27,7 @@
 #include <QMouseEvent>
 #include <QPointer>
 #include <QStackedWidget>
+#include <QStyleFactory>
 #include <QStyleOptionTabBarBase>
 #include <QStylePainter>
 #include <QTabBar>
@@ -54,6 +55,7 @@ public:
     ContainerTabBar(Container* container)
         : QTabBar(container), m_container(container)
     {
+        setStyle(QStyleFactory::create("fusion"));
         installEventFilter(this);
     }

```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to