Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86806

QFile::copy() calls syncToDisk() on the wrong object

XMLWordPrintable

    • Linux/X11
    • 6c4e0e78b6d316df2c0b5897e19a4fac991c2efe (qt/tqtc-qtbase/5.15)

      If QFile::copy is used specially in case of USB drive this does not call sync resulting no copied file at target.
      Probably d->fileEngine->syncToDisk(); should be called at the end of QFile::Copy() implementation.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes