- v.key = query2.value(0).toInt();
- int vgid = query2.value(1).toInt();
- v.seqNo = query2.value(2).toInt();
- v.description = query2.value(3).toString();
+ v.key = query.value(0).toInt();
+ int vgid = query.value(1).toInt();
+ v.seqNo = query.value(2).toInt();
+ v.description = query.value(3).toString();