cullmann added a reviewer: dfaure. cullmann added a comment.
The only thing that is unclear: Shall we use the target dir for the tempfile with QTemporaryFile tempFile(targetFileInfo.absolutePath() + QStringLiteral("/secureXXXXXX")); or shall we keep in in the normal tempdir? That would make atomic rename "unlikely" to work. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D12513 To: cullmann, maximilianocuria, dfaure Cc: cullmann, #frameworks, michaelh, kevinapavew, ngraham, bruns, demsking, sars, dhaumann