[qet] [GIT] qet/qet.git branch master updated. 0.8-dev-546-g78992ee

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


This is an automated email from git. It was generated because a ref
change was pushed to the "qet/qet.git" repository.

The branch, master has been updated
       via  78992ee762feb62fa822afa335825c9ef9d56933 (commit)
      from  7a04788d545e35a3d0b01f350341466408ce131c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 78992ee762feb62fa822afa335825c9ef9d56933
Author: Claveau Joshua <Joshua@xxxxxxxxxxxxxxxx>
Date:   Sun Aug 2 22:24:46 2020 +0200

    Fix backup file on windows
    
    For unknown reason KautoSaveFile don't write the file on Windows if file
    is open in another part of the code.
    No error is returned and use the method :
    qint64 QIODevice::write(const QByteArray &byteArray) return the good
    number of bytes written but the real file stay empty.
    Probably the problem don't come from KautoSaveFile but QFileDevice or
    QIODevice on windows.
    
    The fix consist to open the file just before write on it and close it
    just after.

-----------------------------------------------------------------------

Summary of changes:
 sources/qetproject.cpp | 22 +++++-----------------
 sources/qetproject.h   |  4 +++-
 2 files changed, 8 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
qet/qet.git



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/