summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-07-05 22:13:24 +0200
committerFlorian Bruhin <git@the-compiler.org>2017-07-05 22:13:24 +0200
commita8120a23c4b24c203e07a8ca80105aa22c607e63 (patch)
tree3b0b1b1e26fc54a5f4f1edfb32669cdfed1b08fc
parentdf6b8b7ff52d5fb5aedf911c03f319c85a1f54b9 (diff)
downloadqutebrowser-a8120a23c4b24c203e07a8ca80105aa22c607e63.tar.gz
qutebrowser-a8120a23c4b24c203e07a8ca80105aa22c607e63.zip
Update comment for TabBarStyle
-rw-r--r--qutebrowser/mainwindow/tabwidget.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py
index 3dd0d28da..d1beea7c7 100644
--- a/qutebrowser/mainwindow/tabwidget.py
+++ b/qutebrowser/mainwindow/tabwidget.py
@@ -765,11 +765,9 @@ class TabBarStyle(QCommonStyle):
# Otherwise, empty space will be shown after the last tab even
# though the button width is set to 0
#
- # In older PyQt-versions (5.2.1) QStyle does not have this
- # attribute.
+ # QStyle.SE_TabBarScrollLeftButton was added in Qt 5.7
if sr == QStyle.SE_TabBarScrollLeftButton:
return super().subElementRect(sr, opt, widget)
-
except AttributeError:
pass