From f7ddfd451775afd5f7c95771ce2a6b80b703836b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Mon, 21 Oct 2019 20:01:19 +0200 Subject: libcamera: camera: Remove explicit stream to buffer map in requestCompleted signal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The stream to buffer map in the requestCompleted signal is taken directly from the request which is part of the same signal. Remove the map as it can be fetched directly from the request. Signed-off-by: Niklas Söderlund Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/qcam/main_window.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/qcam/main_window.h') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 30dd8743..0786e915 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -7,7 +7,6 @@ #ifndef __QCAM_MAIN_WINDOW_H__ #define __QCAM_MAIN_WINDOW_H__ -#include #include #include @@ -49,8 +48,7 @@ private: int startCapture(); void stopCapture(); - void requestComplete(Request *request, - const std::map &buffers); + void requestComplete(Request *request); int display(Buffer *buffer); QString title_; -- cgit v1.2.1