From b3ad7b8654ee0166c86a53d19c3f8b7e0b4fd4ca Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 4 Jul 2019 11:26:43 +0100 Subject: qcam: Move static timestamp to MainWindow The 'last' buffer timestamp is stored as a static. Rename the variable to a more descritive 'lastBufferTime' and move it to the class instance. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/qcam/main_window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qcam/main_window.h') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index fe565cbc..345bdaae 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -48,6 +48,8 @@ private: bool isCapturing_; std::unique_ptr config_; + uint64_t lastBufferTime_; + ViewFinder *viewfinder_; }; -- cgit v1.2.1