QSqlQueryModel::record(int row) jump into subclassed function data(...) to retrieve data not in the own function.

The result could be a wrong information about the recordset.
The code should be changed to this->data(....

to get the correct information.
was that done in Purpose??