because your model is destroyed at the end of the function.
if you put ui->listView->setModel(new TarefaModel(5, this));
does it work ?
because your model is destroyed at the end of the function.
if you put ui->listView->setModel(new TarefaModel(5, this));
does it work ?
plopes21 (2nd May 2012)
Bookmarks