Description
QSaveFile::fileTime() fails after QSaveFile::commit() and causes console message "Empty filename passed to function". Can be reproduced with the attached console application "app" (qtbug.zip). Note, that a similar sequence with QFile works.
Attachments
Issue Links
- is duplicated by
-
QTBUG-77039 QSaveFile::size() reports 0 after writing a file
- Closed
- relates to
-
QTBUG-66608 Constructor QFileInfo::QFileInfo(const QFile &file) is incompatible with QSaveFile
- Closed
For Gerrit Dashboard: QTBUG-66605 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
221551,13 | QSaveFile: don't reset fileEngine after commit() | dev | qt/qtbase | Status: MERGED | +2 | 0 |