~neon/ksudoku/master

Viewing all changes in revision 792.

  • Committer: Jeremy Whiting
  • Date: 2019-03-20 02:25:32 UTC
  • Revision ID: git-v1:40e80d73866634c954dce212f2da43cd0fdce8d6
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: