summaryrefslogtreecommitdiffstats
path: root/tests/auto/repc/signature/matchAndQuit/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/repc/signature/matchAndQuit/main.cpp')
-rw-r--r--tests/auto/repc/signature/matchAndQuit/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/repc/signature/matchAndQuit/main.cpp b/tests/auto/repc/signature/matchAndQuit/main.cpp
index 25b3241..d7e1764 100644
--- a/tests/auto/repc/signature/matchAndQuit/main.cpp
+++ b/tests/auto/repc/signature/matchAndQuit/main.cpp
@@ -42,7 +42,7 @@ private Q_SLOTS:
QRemoteObjectNode repNode;
repNode.connectToNode(QUrl(QStringLiteral("tcp://127.0.0.1:65214")));
QSharedPointer<TestClassReplica> rep(repNode.acquire<TestClassReplica>());
- QSignalSpy stateChangedSpy(rep.data(), SIGNAL(stateChanged(State,State)));
+ QSignalSpy stateChangedSpy(rep.data(), &QRemoteObjectReplica::stateChanged);
QVERIFY(rep->waitForSource());
QCOMPARE(rep->state(), QRemoteObjectReplica::Valid);