summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2022-12-04 21:23:16 +0100
committerMilian Wolff <milian.wolff@kdab.com>2022-12-05 10:13:14 +0000
commit1d55a6bb8e72a574002ab13eae6e80cab6783302 (patch)
tree1e9ce3bd9584f088c318c76ef8a19e39d26abca5 /tests
parent8347538dbc33304786509859d1a77a7bbe0eb634 (diff)
Fix -Wclazy-old-style-connect
Change-Id: I017424fb0c948a3566edc473ce65d52ac19dd8ac Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/perfdata/tst_perfdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/perfdata/tst_perfdata.cpp b/tests/auto/perfdata/tst_perfdata.cpp
index d0706c9..769559b 100644
--- a/tests/auto/perfdata/tst_perfdata.cpp
+++ b/tests/auto/perfdata/tst_perfdata.cpp
@@ -77,7 +77,7 @@ static void process(PerfUnwind *unwind, QIODevice *input, const QByteArray &expe
PerfData data(unwind, &header, &attributes);
data.setSource(input);
- QSignalSpy spy(&data, SIGNAL(finished()));
+ QSignalSpy spy(&data, &PerfData::finished);
QObject::connect(&header, &PerfHeader::finished, &data, [&](){
setupUnwind(unwind, &header, input, &attributes, &data, expectedVersion);
data.read();