Hi,
I have a DB table with a date column on it, it has a short date format (dd/MM/yyyy). I use a QSqlTableModel to hold this table's data, and its connected to a QTableView. The problem is that when i display it, the data has a QDateTime format (dd/MM/yyyy 0:00:00). Although the date format is correct, i dont want the time to be displayed (its not recorded in the DB). I guess this is because a conversion between QVariant and the QString in the model...

Any idea?

Thx!