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

QFileInfo class returns stale information for lastModified()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12
    • Core: I/O
    • None
    • Linux/X11, Windows

      If I create a QFileInfo object for a file. Then modify the file, the time stamp returned by lastModified() is that captured when the QFileInfo object was created, it does not reflect the last modified time of the file it refers to. I need to create a new QFileInfo object each time I want to check to ensure I get the current modification time.

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

            thiago Thiago Macieira
            joe_mueller joe mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes