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

QFileSystemModel has no destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.2
    • None

    Description

      /*!
      Destroys this file system model.
      */
      QFileSystemModel::~QFileSystemModel()
      {
      }

      it is very bad that model has empty destructor because destructors of QFileInfo's are not called, so we have undeleted FileEngines (and we can't determine when to flush resources used by them).
      My engine is used to navigate over archives as if they were folders and without flushing model i can't close them properly (workaround is to close all opened archives on QApplication::aboutToQuit signal but it is temporary solution).
      Please, make FileSystemModel delete it's nodes properly

      Attachments

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

        Activity

          People

            menard Alexis Menard (closed Nokia identity) (Inactive)
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes