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

QTemporaryFile: Auto remove fails after failed rename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.2
    • 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0
    • Core: I/O
    • None
    • 2d0bd1a13328d5a5ed6c4d1e768937a6627f1086

    Description

      QTemporaryFile does not "autodelete" after a rename.

      However calling explicitly remove() removes the file.

      This bug was first discovered via the use of the QFile::copy() function.

      Attachments

        Issue Links

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

          Activity

            People

              biochimia João Abecasis
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes