summaryrefslogtreecommitdiff
path: root/qutebrowser/mainwindow/mainwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/mainwindow/mainwindow.py')
-rw-r--r--qutebrowser/mainwindow/mainwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py
index 2f89341c2..7927b6d4e 100644
--- a/qutebrowser/mainwindow/mainwindow.py
+++ b/qutebrowser/mainwindow/mainwindow.py
@@ -586,8 +586,8 @@ class MainWindow(QtWidgets.QWidget):
self.state_before_fullscreen = self.windowState()
self.setWindowState(
QtCore.Qt.WindowFullScreen
- | self.state_before_fullscreen # type: ignore[arg-type]
- ) # type: ignore[operator]
+ | self.state_before_fullscreen # type: ignore[arg-type,operator]
+ )
elif self.isFullScreen():
self.setWindowState(self.state_before_fullscreen)
log.misc.debug(