Hi, I'm having a little problem when displaying the select results from a SQL query into a QTableWidget, it only displays 1 row even though the "rowCount" is "row" which is a variable which increments +1 in a loop while "query.next()".

Here's my code:
http://paste.ofcode.org/HiuBnDNkrT9GhVR3qm7k29

Thanks in advance

(Btw it's my first post )