Revert "Compile with Qt 5.14"

This reverts commit aaf13416.
parent c3715b5e
...@@ -185,10 +185,7 @@ private Q_SLOTS: ...@@ -185,10 +185,7 @@ private Q_SLOTS:
if (!modified.isEmpty()) { if (!modified.isEmpty()) {
Messages collectedModified; Messages collectedModified;
for (const auto &modifiedSpyCatch : modifiedSpy) { for (const auto &modifiedSpyCatch : modifiedSpy) {
const auto msgs = modifiedSpyCatch.at(0).value<Messages>(); collectedModified.insert(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