Hi,
i have replaced in int Dialog::addNewAlbum (file dialog.cpp) this line
m.insertRecord(-1, record);
with this code:
QSqlTableModel m;
m.setTable("albums");
m.insertRecord(-1, record);
model->select();
i should know: is it correct solution?
Good year
Nicola