I'm trying to display items in a QList on a QTreeWidget but no matter how hard i tried i observe that always the first item in the List is not inserted on the treeWidget. Please i need help. Below is my sample code

Qt Code:
  1. void Results::showResults (QList<Semester*>* sList){
  2. for(int i=0; i<semList->count(); i++)
  3. {
  4. ui->treeWidget->addTopLevelItem(sList->at(i)->treeItem);
  5. }
  6. this->show ();
  7. }
To copy to clipboard, switch view to plain text mode 

NB: every Semester item in the list has a treeItem member.