Skip to content

Commit

Permalink
Partly revert commit cff17fc.
Browse files Browse the repository at this point in the history
Indeed, by default it would have been equivalent to elementsAttributes.values() and not elementsAttributes.keys() as we want.
  • Loading branch information
agarny committed Oct 24, 2019
1 parent cff17fc commit 930c47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/corecliutils.cpp
Expand Up @@ -1094,7 +1094,7 @@ QByteArray serialiseDomDocument(const QDomDocument &pDomDocument)

// Manually serialise the elements' attributes

for (const auto &elementAttribute : elementsAttributes) {
for (const auto &elementAttribute : elementsAttributes.keys()) {
res.replace(elementAttribute+R"(="")", elementsAttributes.value(elementAttribute));
}

Expand Down

0 comments on commit 930c47c

Please sign in to comment.