summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index 04fb9e3e..d19cda16 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -44,8 +44,8 @@ private Q_SLOTS:
void updateTitle();
private:
- std::string chooseCamera(CameraManager *cm);
- int openCamera(CameraManager *cm);
+ std::string chooseCamera();
+ int openCamera();
int startCapture();
void stopCapture();
@@ -58,6 +58,7 @@ private:
const OptionsParser::Options &options_;
+ CameraManager *cm_;
std::shared_ptr<Camera> camera_;
FrameBufferAllocator *allocator_;