diff options
Diffstat (limited to 'qutebrowser/mainwindow/statusbar/command.py')
-rw-r--r-- | qutebrowser/mainwindow/statusbar/command.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index 34400337d..80319a9c9 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -56,9 +56,9 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): show_cmd = QtCore.pyqtSignal() hide_cmd = QtCore.pyqtSignal() - def __init__(self, *, win_id: int, - private: bool, - parent: QtWidgets.QWidget = None) -> None: + def __init__( + self, *, win_id: int, private: bool, parent: QtWidgets.QWidget = None + ) -> None: misc.CommandLineEdit.__init__(self, parent=parent) misc.MinimalLineEditMixin.__init__(self) self._win_id = win_id @@ -66,7 +66,9 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): command_history = objreg.get('command-history') self.history.history = command_history.data self.history.changed.connect(command_history.changed) - self.setSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Ignored) + self.setSizePolicy( + QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Ignored + ) self.cursorPositionChanged.connect(self.update_completion) self.textChanged.connect(self.update_completion) |