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

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes