path: root/mkspecs/linux-arm-gnueabi-g++
diff options
authorThiago Macieira <>2019-04-25 13:10:51 -0700
committerThiago Macieira <>2019-04-27 06:03:39 +0000
commita3acf568d1785d15ebf4d9973df6f9c277d5158a (patch)
tree1e404d0a087e21c9958ca555cb3f5b4fb5cc315d /mkspecs/linux-arm-gnueabi-g++
parentb4cc29434769b1d6c08ab2fc76cdcc2dac5dede9 (diff)
Make QFile::copy() less likely to create zero-sized
QFile::copy() didn't have the syncToDisk() call that QSaveFile::commit() has. So add it. [ChangeLog][QtCore][QFile] Made QFile::copy() issue a filesystem- synchronization system call, which would make it less likely to result in incomplete or corrupt files if the system reboots or uncleanly shuts down soon after the function returns. New code is advised to use QSaveFile instead, which also allows to display a progress report while copying. Fixes: QTBUG-75407 Change-Id: I95ecabe2f50e450c991afffd1598d09ec73f6482 Reviewed-by: Henrik Hartz <> Reviewed-by: Volker Hilsheimer <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/linux-arm-gnueabi-g++')
0 files changed, 0 insertions, 0 deletions