the weird behavior of QDataTable