Skip to content
Commit 40e80d73 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Don't use KIO copy and QTemporaryFile to load xml definition files.

Since files are usually (maybe always?) local anyway, there's not
much reason to copy the file to a temporary file.
This also fixes QDomDocument::setContent failing on an empty file
when the QTemporaryFile is somehow empty after the copy has finished.

Reviewed by: Ian Wadham <iandw.au@gmail.com>
BUG: 405422
parent 8ea6d05d
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