summaryrefslogtreecommitdiffstats
path: root/tests/auto/restart/server/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/restart/server/main.cpp')
-rw-r--r--tests/auto/restart/server/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/restart/server/main.cpp b/tests/auto/restart/server/main.cpp
index f4e83a5..9924ebc 100644
--- a/tests/auto/restart/server/main.cpp
+++ b/tests/auto/restart/server/main.cpp
@@ -57,7 +57,7 @@ private Q_SLOTS:
qDebug() << "Waiting for incoming connections";
- QSignalSpy waitForStartedSpy(&myTestServer, SIGNAL(startedChanged(bool)));
+ QSignalSpy waitForStartedSpy(&myTestServer, &MyTestServer::startedChanged);
QVERIFY(waitForStartedSpy.isValid());
QVERIFY(waitForStartedSpy.wait());
QCOMPARE(waitForStartedSpy.value(0).value(0).toBool(), true);