https://bugs.kde.org/show_bug.cgi?id=405422

Jeremy Whiting <jpwhit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/ksu |https://commits.kde.org/ksu
                   |doku/40e80d73866634c954dce2 |doku/3ecebabf44eb1ace3859ea
                   |12f2da43cd0fdce8d6          |fafe93534ab0d3f986
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #9 from Jeremy Whiting <jpwhit...@kde.org> ---
Git commit 3ecebabf44eb1ace3859eafafe93534ab0d3f986 by Jeremy Whiting.
Committed on 20/03/2019 at 16:04.
Pushed by whiting into branch 'Applications/19.04'.

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...@gmail.com>

(cherry picked from commit 40e80d73866634c954dce212f2da43cd0fdce8d6)

M  +7    -12   src/gui/serializer.cpp

https://commits.kde.org/ksudoku/3ecebabf44eb1ace3859eafafe93534ab0d3f986

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to