E5Gui/E5TabWidget.py

changeset 154
25d288e43a6c
parent 55
b5c84934de9c
child 458
1695e7a2db54
child 792
a13346916170
--- a/E5Gui/E5TabWidget.py	Wed Mar 24 18:38:44 2010 +0000
+++ b/E5Gui/E5TabWidget.py	Thu Mar 25 18:29:33 2010 +0000
@@ -272,7 +272,8 @@
         
         @return free side (QTabBar.ButtonPosition)
         """
-        side = self.__tabBar.style().styleHint(QStyle.SH_TabBar_CloseButtonPosition)
+        side = self.__tabBar.style().styleHint(QStyle.SH_TabBar_CloseButtonPosition, 
+            None, None, None)
         if side == QTabBar.LeftSide:
             side = QTabBar.RightSide
         else:
@@ -319,4 +320,4 @@
             if animation is not None:
                 animation.movie().stop()
                 self.__tabBar.setTabButton(index, side, None)
-                del animation
\ No newline at end of file
+                del animation

eric ide

mercurial