Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.6.2
-
None
-
MS Windows Vista Ultimate
Description
Hello,
Sorry ! My English is very poor.
I'am developping an application based on "simpletreemodel" example.
From "task manager", I observe leak of memory.
The main difference, with respect to the example cited, is that the calls to member function "setModel (...) of QTreeView, are recurrent (100 ms).
So, from the example "simpletreemodel", I have modified the file "main.cpp" to highlight the problem mentioned.
Please, see attachment.
line 109
view->setModel(model);
Just setting this line to comment that the application does not "leak" more.
(Obviously, there is no more view actualisation. Never mind ...)
Could you explain me ?
Which solution that would allow me to refresh the view without leak of memory ?
Regards.