summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main_window.cpp')
-rw-r--r--src/qcam/main_window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index 0f737d85..d6136910 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -14,6 +14,7 @@
#include <QTimer>
#include <libcamera/camera_manager.h>
+#include <libcamera/version.h>
#include "main_window.h"
#include "viewfinder.h"
@@ -25,6 +26,9 @@ MainWindow::MainWindow(const OptionsParser::Options &options)
{
int ret;
+ title_ = "QCam " + QString::fromStdString(libcamera::version);
+ setWindowTitle(title_);
+
viewfinder_ = new ViewFinder(this);
setCentralWidget(viewfinder_);
viewfinder_->setFixedSize(500, 500);