diff options
author | Rolf Eike Beer <eb@emlix.com> | 2019-07-16 09:18:34 +0200 |
---|---|---|
committer | Rolf Eike Beer <eb@emlix.com> | 2019-07-16 11:48:25 +0200 |
commit | 539b782385786d4f076c442c9da53a228a1be462 (patch) | |
tree | a5bae353bbf2227744c0322a63e1afeeddb0e52b /src/plugins/directshow/camera/dscamerasession.cpp | |
parent | 28bd5f54f5230f5a5002db28f2d3fec7cadc1540 (diff) |
DirectShow plugin: use new style connect syntax
Change-Id: I5c2dadfe1154961adcecf779126166aea4d32393
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/plugins/directshow/camera/dscamerasession.cpp')
-rw-r--r-- | src/plugins/directshow/camera/dscamerasession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/directshow/camera/dscamerasession.cpp b/src/plugins/directshow/camera/dscamerasession.cpp index f1865411a..267e7a9a4 100644 --- a/src/plugins/directshow/camera/dscamerasession.cpp +++ b/src/plugins/directshow/camera/dscamerasession.cpp @@ -76,8 +76,8 @@ DSCameraSession::DSCameraSession(QObject *parent) , m_videoProbeControl(nullptr) , m_status(QCamera::UnloadedStatus) { - connect(this, SIGNAL(statusChanged(QCamera::Status)), - this, SLOT(updateReadyForCapture())); + connect(this, &DSCameraSession::statusChanged, + this, &DSCameraSession::updateReadyForCapture); m_deviceLostEventTimer.setSingleShot(true); connect(&m_deviceLostEventTimer, &QTimer::timeout, [&]() { |