diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2019-03-31 15:02:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 12:59:17 +0300 |
commit | 2b9ca488fd18dc9d65d42dc5900e120a07e5b3f6 (patch) | |
tree | b1aa85f5353b58f0d8ff903fa3e4cd86a054c948 /tests/testqPrefGeocoding.cpp | |
parent | 4c26bd55229de8378fb4a63b885ba6e9b9fe4f91 (diff) | |
download | subsurface-2b9ca488fd18dc9d65d42dc5900e120a07e5b3f6.tar.gz |
tests: use new style syntax to connect QSignalSpy
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'tests/testqPrefGeocoding.cpp')
-rw-r--r-- | tests/testqPrefGeocoding.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testqPrefGeocoding.cpp b/tests/testqPrefGeocoding.cpp index 4be621d80..aec602339 100644 --- a/tests/testqPrefGeocoding.cpp +++ b/tests/testqPrefGeocoding.cpp @@ -132,9 +132,9 @@ void TestQPrefGeocoding::test_oldPreferences() void TestQPrefGeocoding::test_signals() { - QSignalSpy spy1(qPrefGeocoding::instance(), SIGNAL(first_taxonomy_categoryChanged(taxonomy_category))); - QSignalSpy spy2(qPrefGeocoding::instance(), SIGNAL(second_taxonomy_categoryChanged(taxonomy_category))); - QSignalSpy spy3(qPrefGeocoding::instance(), SIGNAL(third_taxonomy_categoryChanged(taxonomy_category))); + QSignalSpy spy1(qPrefGeocoding::instance(), &qPrefGeocoding::first_taxonomy_categoryChanged); + QSignalSpy spy2(qPrefGeocoding::instance(), &qPrefGeocoding::second_taxonomy_categoryChanged); + QSignalSpy spy3(qPrefGeocoding::instance(), &qPrefGeocoding::third_taxonomy_categoryChanged); prefs.geocoding.category[0] = TC_NONE; qPrefGeocoding::set_first_taxonomy_category(TC_COUNTRY); |