diff options
Diffstat (limited to 'tests/testqPrefDiveComputer.cpp')
-rw-r--r-- | tests/testqPrefDiveComputer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testqPrefDiveComputer.cpp b/tests/testqPrefDiveComputer.cpp index 8a05db8fb..fff589c17 100644 --- a/tests/testqPrefDiveComputer.cpp +++ b/tests/testqPrefDiveComputer.cpp @@ -138,10 +138,10 @@ void TestQPrefDiveComputer::test_oldPreferences() void TestQPrefDiveComputer::test_signals() { - QSignalSpy spy1(qPrefDiveComputer::instance(), SIGNAL(deviceChanged(QString))); - QSignalSpy spy2(qPrefDiveComputer::instance(), SIGNAL(device_nameChanged(QString))); - QSignalSpy spy4(qPrefDiveComputer::instance(), SIGNAL(productChanged(QString))); - QSignalSpy spy5(qPrefDiveComputer::instance(), SIGNAL(vendorChanged(QString))); + QSignalSpy spy1(qPrefDiveComputer::instance(), &qPrefDiveComputer::deviceChanged); + QSignalSpy spy2(qPrefDiveComputer::instance(), &qPrefDiveComputer::device_nameChanged); + QSignalSpy spy4(qPrefDiveComputer::instance(), &qPrefDiveComputer::productChanged); + QSignalSpy spy5(qPrefDiveComputer::instance(), &qPrefDiveComputer::vendorChanged); qPrefDiveComputer::set_device("t_signal device"); qPrefDiveComputer::set_device_name("t_signal device name"); |