summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-07-04 11:26:43 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-07-04 22:11:27 +0100
commitb3ad7b8654ee0166c86a53d19c3f8b7e0b4fd4ca (patch)
tree4c7c5dea4f255fa84ec373192f4dfbdfe5c43b06 /src/qcam/main_window.h
parentb817bcec6b5377fef0717d39348a173b7157a91b (diff)
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h2
1 files changed, 2 insertions, 0 deletions
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<CameraConfiguration> config_;
+ uint64_t lastBufferTime_;
+
ViewFinder *viewfinder_;
};