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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes