diff options
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r-- | src/qcam/main_window.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 143b5b08..fe565cbc 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -8,6 +8,7 @@ #define __QCAM_MAIN_WINDOW_H__ #include <map> +#include <memory> #include <QMainWindow> @@ -45,7 +46,7 @@ private: std::shared_ptr<Camera> camera_; bool isCapturing_; - CameraConfiguration config_; + std::unique_ptr<CameraConfiguration> config_; ViewFinder *viewfinder_; }; |