Hi Everyone,
QFileInfo::lastModified() for a directory will give me the last modified time correctly if a file has been altered, but not 'touch'-ed. Is this known behavior. Why is this?
Thanks
-K
Hi Everyone,
QFileInfo::lastModified() for a directory will give me the last modified time correctly if a file has been altered, but not 'touch'-ed. Is this known behavior. Why is this?
Thanks
-K
What do u mean by touch-ed ??
Hmm, I didn't understand 'touch'. Touching a file will alter its modified date BUT will not affect the super-directory, so QT is doing just fine, I was mistaken.
Aamer - 'touch' is a unix command to change the file's last modified property without actually altering the file.
Bookmarks