Thu, 25 Mar 2010 18:29:33 +0000
Fixed an issue with getting a style hint.
E5Gui/E5TabWidget.py | file | annotate | diff | comparison | revisions |
--- 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