summaryrefslogtreecommitdiff
path: root/src/apps/qcam/viewfinder_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/qcam/viewfinder_qt.h')
-rw-r--r--src/apps/qcam/viewfinder_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apps/qcam/viewfinder_qt.h b/src/apps/qcam/viewfinder_qt.h
index 4f4b9f11..50fde88e 100644
--- a/src/apps/qcam/viewfinder_qt.h
+++ b/src/apps/qcam/viewfinder_qt.h
@@ -44,6 +44,7 @@ Q_SIGNALS:
protected:
void paintEvent(QPaintEvent *) override;
+ void resizeEvent(QResizeEvent *) override;
QSize sizeHint() const override;
private:
@@ -51,6 +52,7 @@ private:
libcamera::PixelFormat format_;
QSize size_;
+ QRect place_;
/* Camera stopped icon */
QSize vfSize_;