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:
committed by
Laurent Pinchart
parent
19d870d6d8
commit
bb1cbd53d2
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user