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