diff options
Diffstat (limited to 'qutebrowser/mainwindow/statusbar/tabindex.py')
-rw-r--r-- | qutebrowser/mainwindow/statusbar/tabindex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/mainwindow/statusbar/tabindex.py b/qutebrowser/mainwindow/statusbar/tabindex.py index e41501123..27cc1beee 100644 --- a/qutebrowser/mainwindow/statusbar/tabindex.py +++ b/qutebrowser/mainwindow/statusbar/tabindex.py @@ -19,7 +19,7 @@ """TabIndex displayed in the statusbar.""" -from qutebrowser.qt.core import pyqtSlot +from qutebrowser.qt import core from qutebrowser.mainwindow.statusbar import textbase @@ -28,7 +28,7 @@ class TabIndex(textbase.TextBase): """Shows current tab index and number of tabs in the statusbar.""" - @pyqtSlot(int, int) + @core.pyqtSlot(int, int) def on_tab_index_changed(self, current, count): """Update tab index when tab changed.""" self.setText('[{}/{}]'.format(current + 1, count)) |