The writing-to-temporary check warns when the result of QDomNode::firstChild() is modified. However this is valid, as the QomNode docs state: "changing the returned node will also change the node in the document tree".
Git commit f4e5ec481a958ac4e253cf80bd8074edd37d5f5a by Sergio Martins. Committed on 26/10/2015 at 21:31. Pushed by smartins into branch 'master'. writing-to-temporary: Don't warn on QDomNode It's copies are shallow. M +2 -1 checks/writingtotemporary.cpp M +11 -0 tests/writing-to-temporary/main.cpp http://commits.kde.org/clazy/f4e5ec481a958ac4e253cf80bd8074edd37d5f5a