summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lc-compliance/simple_capture.cpp2
-rw-r--r--src/libcamera/camera_manager.cpp2
-rw-r--r--src/qcam/main_window.cpp4
-rw-r--r--test/camera/camera_reconfigure.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lc-compliance/simple_capture.cpp b/src/lc-compliance/simple_capture.cpp
index 25097f28..ab5cb35c 100644
--- a/src/lc-compliance/simple_capture.cpp
+++ b/src/lc-compliance/simple_capture.cpp
@@ -62,7 +62,7 @@ void SimpleCapture::stop()
camera_->stop();
- camera_->requestCompleted.disconnect(this, &SimpleCapture::requestComplete);
+ camera_->requestCompleted.disconnect(this);
Stream *stream = config_->at(0).stream();
allocator_->free(stream);
diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
index fe80a46f..08457030 100644
--- a/src/libcamera/camera_manager.cpp
+++ b/src/libcamera/camera_manager.cpp
@@ -170,7 +170,7 @@ void CameraManager::Private::createPipelineHandlers()
void CameraManager::Private::cleanup()
{
- enumerator_->devicesAdded.disconnect(this, &Private::createPipelineHandlers);
+ enumerator_->devicesAdded.disconnect(this);
/*
* Release all references to cameras to ensure they all get destroyed
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;
diff --git a/test/camera/camera_reconfigure.cpp b/test/camera/camera_reconfigure.cpp
index 5adef16e..48d61c00 100644
--- a/test/camera/camera_reconfigure.cpp
+++ b/test/camera/camera_reconfigure.cpp
@@ -130,7 +130,7 @@ private:
return TestFail;
}
- camera_->requestCompleted.disconnect(this, &CameraReconfigure::requestComplete);
+ camera_->requestCompleted.disconnect(this);
requests_.clear();