diff options
Diffstat (limited to 'tests/auto/perfdata/tst_perfdata.cpp')
-rw-r--r-- | tests/auto/perfdata/tst_perfdata.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/perfdata/tst_perfdata.cpp b/tests/auto/perfdata/tst_perfdata.cpp index 7ab1971..45bb5ea 100644 --- a/tests/auto/perfdata/tst_perfdata.cpp +++ b/tests/auto/perfdata/tst_perfdata.cpp @@ -66,7 +66,8 @@ static void process(PerfUnwind *unwind, QIODevice *input) { PerfHeader header(input); PerfAttributes attributes; - PerfData data(input, unwind, &header, &attributes); + PerfData data(unwind, &header, &attributes); + data.setSource(input); QSignalSpy spy(&data, SIGNAL(finished())); QObject::connect(&header, &PerfHeader::finished, &data, [&](){ |