summaryrefslogtreecommitdiffstats
path: root/tests/auto/extras
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-03-27 11:51:46 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-03-28 16:18:38 +0000
commit31356b4cf548e283a9151c287667e7af971d2d48 (patch)
tree2cc2cd85cb1923a8b7c10bc052b0bb40c918acf8 /tests/auto/extras
parent58c271e3f761deafa4bab9ab9fccfd5837dfa561 (diff)
Add arguments to notify signals in QFirstpersonCameraController
Change-Id: Ic7a970bf51e11dde38bbf3ce9b708e957f9fee8e Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/extras')
-rw-r--r--tests/auto/extras/qfirstpersoncameracontroller/tst_qfirstpersoncameracontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/extras/qfirstpersoncameracontroller/tst_qfirstpersoncameracontroller.cpp b/tests/auto/extras/qfirstpersoncameracontroller/tst_qfirstpersoncameracontroller.cpp
index 2cf4d7ba2..ab43ff2e5 100644
--- a/tests/auto/extras/qfirstpersoncameracontroller/tst_qfirstpersoncameracontroller.cpp
+++ b/tests/auto/extras/qfirstpersoncameracontroller/tst_qfirstpersoncameracontroller.cpp
@@ -124,7 +124,7 @@ private Q_SLOTS:
}
{
// WHEN
- QSignalSpy spy(&firstPersonCameraController, SIGNAL(accelerationChanged()));
+ QSignalSpy spy(&firstPersonCameraController, SIGNAL(accelerationChanged(float)));
const float newValue = 0.001f;
firstPersonCameraController.setAcceleration(newValue);
@@ -143,7 +143,7 @@ private Q_SLOTS:
}
{
// WHEN
- QSignalSpy spy(&firstPersonCameraController, SIGNAL(decelerationChanged()));
+ QSignalSpy spy(&firstPersonCameraController, SIGNAL(decelerationChanged(float)));
const float newValue = 0.001f;
firstPersonCameraController.setDeceleration(newValue);