py: cam: Drop WA_ShowWithoutActivating

Drop WA_ShowWithoutActivating from the Qt renderers. I added the flag
during development phase as I didn't want the window to take the focus,
but it should be removed now.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Tomi Valkeinen 2022-05-27 17:44:26 +03:00 committed by Laurent Pinchart
parent 19d870d6d8
commit bb1cbd53d2
2 changed files with 0 additions and 2 deletions

View file

@ -187,7 +187,6 @@ class QtRenderer:
for ctx in self.contexts:
for stream in ctx['streams']:
window = MainWindow(ctx, stream)
window.setAttribute(QtCore.Qt.WA_ShowWithoutActivating)
window.show()
windows.append(window)

View file

@ -137,7 +137,6 @@ class QtRenderer:
self.app = QtWidgets.QApplication([])
window = MainWindow(self.state)
window.setAttribute(QtCore.Qt.WA_ShowWithoutActivating)
window.show()
self.window = window