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

Inconsistent error handling in QFile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.3.3
    • Core: I/O
    • None

      QFile will for most of it's functions ask the file engine for the error and set the QFile error to this one. This is not the case for all functions though, i.e. QFile::remove() will use the global "errno" variable directly for setting the error and this makes it impossible to write a new file engine and have the engine provide the error for QFile.

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

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes