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

Steve Allewell <steve.allew...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kxs
                   |                            |titch/f9b52573043e91c69c377
                   |                            |727fac6951e677a1e69
   Version Fixed In|                            |2.2.0
         Resolution|---                         |FIXED

--- Comment #3 from Steve Allewell <steve.allew...@gmail.com> ---
Git commit f9b52573043e91c69c377727fac6951e677a1e69 by Steve Allewell.
Committed on 26/05/2019 at 16:24.
Pushed by sallewell into branch 'release-2.2.0'.

Fix file opening bug

A change in KDE/Qt has resulted in a QTemporaryFile size() of 0 after
KIO::copy_file overwrites it, previous versions show the size of the
copied file.  As such garbage was read instead of the file content.

Fixed by closing the temporary file after opening it, reopening it using
a QFile which then has the correct size.
FIXED-IN: 2.2.0

M  +39   -23   src/MainWindow.cpp

https://commits.kde.org/kxstitch/f9b52573043e91c69c377727fac6951e677a1e69

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

Reply via email to