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

QFileInfo doesn't provide an API to indicate that it failed to retrieve information

XMLWordPrintable

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

      QFileInfo doesn't provide any way to indicate that its attempt to retrieve file information failed. For example, if stat() fails, QFileInfo::exists() returns false, when in fact QFileInfo can't determine if the file exists at all. It would be convenient to provide some API to communicate errors from the underlying layers back up to the programmer.

        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:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes