mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-18 01:45:10 +03:00
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:
parent
19d870d6d8
commit
bb1cbd53d2
2 changed files with 0 additions and 2 deletions
|
@ -187,7 +187,6 @@ class QtRenderer:
|
||||||
for ctx in self.contexts:
|
for ctx in self.contexts:
|
||||||
for stream in ctx['streams']:
|
for stream in ctx['streams']:
|
||||||
window = MainWindow(ctx, stream)
|
window = MainWindow(ctx, stream)
|
||||||
window.setAttribute(QtCore.Qt.WA_ShowWithoutActivating)
|
|
||||||
window.show()
|
window.show()
|
||||||
windows.append(window)
|
windows.append(window)
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,6 @@ class QtRenderer:
|
||||||
self.app = QtWidgets.QApplication([])
|
self.app = QtWidgets.QApplication([])
|
||||||
|
|
||||||
window = MainWindow(self.state)
|
window = MainWindow(self.state)
|
||||||
window.setAttribute(QtCore.Qt.WA_ShowWithoutActivating)
|
|
||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
self.window = window
|
self.window = window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue