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, 2 insertions, 2 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index 3669c0b9..1536b2b5 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -536,7 +536,7 @@ int MainWindow::startCapture()
return 0;
error_disconnect:
- camera_->requestCompleted.disconnect(this, &MainWindow::requestComplete);
+ camera_->requestCompleted.disconnect(this);
camera_->stop();
error:
@@ -577,7 +577,7 @@ void MainWindow::stopCapture()
if (ret)
qInfo() << "Failed to stop capture";
- camera_->requestCompleted.disconnect(this, &MainWindow::requestComplete);
+ camera_->requestCompleted.disconnect(this);
for (auto &iter : mappedBuffers_) {
const Span<uint8_t> &buffer = iter.second;