simplify more

This commit is contained in:
Christian Helbling 2018-01-13 10:26:41 +01:00
parent 141d020ede
commit cd20c32973

View File

@ -2196,7 +2196,4 @@ class CommandDispatcher:
return return
window = self._tabbed_browser.window() window = self._tabbed_browser.window()
if window.isFullScreen(): window.setWindowState(window.windowState() ^ Qt.WindowFullScreen)
window.setWindowState(window.windowState() & ~Qt.WindowFullScreen)
else:
window.setWindowState(window.windowState() | Qt.WindowFullScreen)