summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-07-02 12:38:09 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-07-04 22:11:27 +0100
commit2976dd6a7e202d161077a454b28e9fcce98945c1 (patch)
treeeb09c921f436182b5444e3049ca8f92e2c0ae1d5 /src/qcam/main_window.h
parentb3ad7b8654ee0166c86a53d19c3f8b7e0b4fd4ca (diff)
qcam: Add the version string to the title
Provide the version string reported by the libcamera library on the qcam test utility. This helps confirm the exact version of the library that is being used while testing. The version string is stored in the MainWindow so that it can be reused without reconstructing. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index 345bdaae..46a494a9 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -42,6 +42,7 @@ private:
const std::map<Stream *, Buffer *> &buffers);
int display(Buffer *buffer);
+ QString title_;
const OptionsParser::Options &options_;
std::shared_ptr<Camera> camera_;