views:

17

answers:

0

I have a small Qt Dialog which contains a QTableWidget. The QTableWidget's contents show a live view of a data pool as well as being able to edit the pool's values. Now on Windows 7 everthing works just fine, unfortunately on XP the QTableWidget's contents aren't updated.

This is the code used to update the item's data.

tableWidget->item(index, 2)->setData(Qt::DisplayRole|Qt::EditRole, data);

Any ideas?