summaryrefslogtreecommitdiff
path: root/tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h')
-rw-r--r--tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h b/tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h
index dcc381403..70d8fa920 100644
--- a/tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h
+++ b/tests/auto/unit/mockbackend/mockcameraimagecapturecontrol.h
@@ -67,16 +67,7 @@ public:
return -1;
}
-
- QCameraImageCapture::CaptureDestinations captureDestination() const
- {
- return m_destination;
- }
-
- void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination)
- {
- m_destination = destination;
- }
+ int captureToBuffer() { return -1; }
QImageEncoderSettings imageSettings() const { return m_settings; }
void setImageSettings(const QImageEncoderSettings &settings) { m_settings = settings; }
@@ -106,7 +97,6 @@ private:
QString m_fileName;
int m_captureRequest;
bool m_ready;
- QCameraImageCapture::CaptureDestinations m_destination;
QImageEncoderSettings m_settings;
};