summaryrefslogtreecommitdiff
path: root/examples/multimediawidgets/camera/camera.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@blackberry.com>2014-03-02 11:43:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 12:12:31 +0100
commitd5dfef66bb5b12ade920d3bf2d171186e9b7e8dc (patch)
tree58de7f20424fd60b7f5584c1bb3cacdb5a8be5f5 /examples/multimediawidgets/camera/camera.cpp
parentd45a02e8c9963279060b960c77bf049205b8fffc (diff)
downloadqtmultimedia-d5dfef66bb5b12ade920d3bf2d171186e9b7e8dc.tar.gz
Prefer to use normalised signal/slot signatures
Change-Id: I48ae4b46f7a0342a1436ba78958b057e919e3a8a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'examples/multimediawidgets/camera/camera.cpp')
-rw-r--r--examples/multimediawidgets/camera/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimediawidgets/camera/camera.cpp b/examples/multimediawidgets/camera/camera.cpp
index adb54ef55..abbbf8333 100644
--- a/examples/multimediawidgets/camera/camera.cpp
+++ b/examples/multimediawidgets/camera/camera.cpp
@@ -140,8 +140,8 @@ void Camera::setCamera(const QByteArray &cameraDevice)
connect(imageCapture, SIGNAL(error(int,QCameraImageCapture::Error,QString)), this,
SLOT(displayCaptureError(int,QCameraImageCapture::Error,QString)));
- connect(camera, SIGNAL(lockStatusChanged(QCamera::LockStatus, QCamera::LockChangeReason)),
- this, SLOT(updateLockStatus(QCamera::LockStatus, QCamera::LockChangeReason)));
+ connect(camera, SIGNAL(lockStatusChanged(QCamera::LockStatus,QCamera::LockChangeReason)),
+ this, SLOT(updateLockStatus(QCamera::LockStatus,QCamera::LockChangeReason)));
ui->captureWidget->setTabEnabled(0, (camera->isCaptureModeSupported(QCamera::CaptureStillImage)));
ui->captureWidget->setTabEnabled(1, (camera->isCaptureModeSupported(QCamera::CaptureVideo)));