Commit af9c7187 authored by Volker Krause's avatar Volker Krause
Browse files

Explicitly construct a QByteArray here

Doesn't work implicitly with Qt6 anymore.
parent 457e161a
Pipeline #182428 passed with stage
in 13 minutes and 14 seconds
......@@ -208,7 +208,7 @@ private Q_SLOTS:
ItemRetriever r1(mAkonadi.itemRetrievalManager(), nullptr, context);
r1.setRetrieveFullPayload(true);
QCOMPARE(r1.retrieveParts().size(), 1);
QCOMPARE(r1.retrieveParts().at(0), {"PLD:RFC822"});
QCOMPARE(r1.retrieveParts().at(0), QByteArray{"PLD:RFC822"});
r1.setRetrieveParts({"PLD:FOO"});
QCOMPARE(r1.retrieveParts().size(), 2);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment