Looks like you forgot to populate the model, try calling QSqlTableModel::select() after setting the table.
J-P Nurmi
Forum Rules
Bookmarks