There doesn't seem to be any part that says "this QSqlQuery operates on this QSqlDatabase".