summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-icc/Info.plist.dSYM.in
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2019-04-25 13:10:51 -0700
committerThiago Macieira <thiago.macieira@intel.com>2019-04-27 06:03:39 +0000
commita3acf568d1785d15ebf4d9973df6f9c277d5158a (patch)
tree1e404d0a087e21c9958ca555cb3f5b4fb5cc315d /mkspecs/macx-icc/Info.plist.dSYM.in
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 <hhartz@gmail.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'mkspecs/macx-icc/Info.plist.dSYM.in')
0 files changed, 0 insertions, 0 deletions