diff options
author | Alexander Akulich <akulichalexander@gmail.com> | 2020-02-07 18:30:27 +0300 |
---|---|---|
committer | Alexander Akulich <akulichalexander@gmail.com> | 2020-03-03 16:14:48 +0300 |
commit | 19477de84a64f412bca9ce2df62ab9adb3859da2 (patch) | |
tree | d676ff20a447c750988ff2cbd4af205f2e54b094 /tests/auto/unit/qcamera | |
parent | 07f073c0e059d5565651f27376a504974a59c6a2 (diff) |
QCamera: Deprecate 'error' signal, use 'errorOccurred' instead
[ChangeLog][Deprecation Notice] QCamera::error() (the signal) is deprecated; superseded by errorOccurred()
Change-Id: Ie3214689db7f46cf36ac696339ac42beb5b921d4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/unit/qcamera')
-rw-r--r-- | tests/auto/unit/qcamera/tst_qcamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qcamera/tst_qcamera.cpp b/tests/auto/unit/qcamera/tst_qcamera.cpp index 4b6202173..643b552f9 100644 --- a/tests/auto/unit/qcamera/tst_qcamera.cpp +++ b/tests/auto/unit/qcamera/tst_qcamera.cpp @@ -2039,7 +2039,7 @@ void tst_QCamera::testErrorSignal() QCamera camera; - QSignalSpy spyError(&camera, SIGNAL(error(QCamera::Error))); + QSignalSpy spyError(&camera, SIGNAL(errorOccurred(QCamera::Error))); /* Set the QCameraControl error and verify if the signal is emitted correctly in QCamera */ service.mockControl->setError(QCamera::CameraError,QString("Camera Error")); |