Commit aaf13416 authored by Volker Krause's avatar Volker Krause

Compile with Qt 5.14

Should hopefully fix the CI build.
parent 97914ebc
Pipeline #37110 passed with stage
in 14 minutes and 46 seconds
...@@ -185,7 +185,10 @@ private Q_SLOTS: ...@@ -185,7 +185,10 @@ private Q_SLOTS:
if (!modified.isEmpty()) { if (!modified.isEmpty()) {
Messages collectedModified; Messages collectedModified;
for (const auto &modifiedSpyCatch : modifiedSpy) { for (const auto &modifiedSpyCatch : modifiedSpy) {
collectedModified.insert(modifiedSpyCatch.at(0).value<Messages>()); const auto msgs = modifiedSpyCatch.at(0).value<Messages>();
for (auto it = msgs.begin(); it != msgs.end(); ++it) {
collectedModified.insert(it.key(), it.value());
}
} }
QCOMPARE(collectedModified, modified); QCOMPARE(collectedModified, modified);
......
Markdown is supported
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