summaryrefslogtreecommitdiff
path: root/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp')
-rw-r--r--tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
index 7fb3cb629..b02ff2d1c 100644
--- a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
+++ b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
@@ -76,8 +76,7 @@ void tst_QHelpContentModel::setupContents()
h.setReadOnly(false);
QHelpContentModel *m = h.contentModel();
SignalWaiter w;
- connect(m, SIGNAL(contentsCreated()),
- &w, SLOT(stopWaiting()));
+ connect(m, &QHelpContentModel::contentsCreated, &w, &SignalWaiter::stopWaiting);
w.start();
h.setupData();
int i = 0;
@@ -102,8 +101,7 @@ void tst_QHelpContentModel::contentItemAt()
h.setReadOnly(false);
QHelpContentModel *m = h.contentModel();
SignalWaiter w;
- connect(m, SIGNAL(contentsCreated()),
- &w, SLOT(stopWaiting()));
+ connect(m, &QHelpContentModel::contentsCreated, &w, &SignalWaiter::stopWaiting);
w.start();
h.setupData();
int i = 0;