The code looks ok, the problem is probably elsewhere in your code.
By the way, you can replace the for loop with:
Qt Code:
for(int i=0; i<80; ++i) { }To copy to clipboard, switch view to plain text mode
The code looks ok, the problem is probably elsewhere in your code.
By the way, you can replace the for loop with:
Qt Code:
for(int i=0; i<80; ++i) { }To copy to clipboard, switch view to plain text mode
Bookmarks