summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefLocationService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testqPrefLocationService.cpp')
-rw-r--r--tests/testqPrefLocationService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testqPrefLocationService.cpp b/tests/testqPrefLocationService.cpp
index 0f383212c..4e0d410cb 100644
--- a/tests/testqPrefLocationService.cpp
+++ b/tests/testqPrefLocationService.cpp
@@ -117,8 +117,8 @@ void TestQPrefLocationService::test_oldPreferences()
void TestQPrefLocationService::test_signals()
{
- QSignalSpy spy1(qPrefLocationService::instance(), SIGNAL(distance_thresholdChanged(int)));
- QSignalSpy spy2(qPrefLocationService::instance(), SIGNAL(time_thresholdChanged(int)));
+ QSignalSpy spy1(qPrefLocationService::instance(), &qPrefLocationService::distance_thresholdChanged);
+ QSignalSpy spy2(qPrefLocationService::instance(), &qPrefLocationService::time_thresholdChanged);
qPrefLocationService::set_distance_threshold(-2000);
qPrefLocationService::set_time_threshold(-90);