PDA

View Full Version : About QStandardItemModel removerow



henry_yue
15th May 2013, 14:37
Hi,I am a beginner.
I use qt5 mvc to display some data for table,i use QStandardItemModel to apendrow for adding and removerow for deleting.
i want to know when i call removerow ,should i use delete for the qlist of QStandardItem which i new on appedrow for detectiong memory ?:confused:
thank.

Santosh Reddy
15th May 2013, 15:09
i want to know when i call removerow ,should i use delete for the qlist of QStandardItem which i new on appedrow for detectiong memory ?
delete is not required, removeRow() will remove item and delete it.