lunatic fringe
4th February 2010, 09:51
Hello,
if i create a new insatance of a QSqlQueryModel (based on sqlite database) the amount of memory is not completely freed when deleting the object.
.
..
model = new QSqlQueryModel();
model->setQuery(query);
while(model->canFetchMore())
model->fetchMore();
..
delete model;
What is the correct way to do this?
if i create a new insatance of a QSqlQueryModel (based on sqlite database) the amount of memory is not completely freed when deleting the object.
.
..
model = new QSqlQueryModel();
model->setQuery(query);
while(model->canFetchMore())
model->fetchMore();
..
delete model;
What is the correct way to do this?