I think the problem is not QObject (where is it anyway? I don't see any QObjects here), but instead this:
As "this" is a pointer, you're trying to use an index operator on a pointer, which doesn't make any sense. Either use at() or dereference "this" first:
Qt Code:
(*this)[r].resize(columns);To copy to clipboard, switch view to plain text mode
Bookmarks