diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-22 19:47:40 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-24 10:33:47 +0200 |
commit | 15273b38dff309af52eb0b9454ade5f5cbb18ac0 (patch) | |
tree | 14a6eacee84cbb5b367dbe36fabaa369f7d71fae /src/cam/event_loop.cpp | |
parent | 77ea51820acccfcd3aebe6aa27ad26af21e82a7a (diff) |
qcam: main_window: Replace start and stop actions with a toggle action
The main window toolbar contains a start button and a stop button. This
allows starting an already started camera (which is currently not
handled and results in an error) or stopping an already stopped camera.
Replace the two actions with a single start/stop toggle action,
preventing UI misuse and reducing confusion.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.cpp')
0 files changed, 0 insertions, 0 deletions