Hello... I've got some code that's starting to make me pull out my hair.
I'm doing the following with my tree view to get the indices that have been selected:Qt Code:
To copy to clipboard, switch view to plain text mode
According to the docs, selectedIndexes() returns the selected indices from the view with no duplicates. In my case, it returns indices equal to the total indices in the tree, all of them identical (the one index that I had selected). This is really starting to get to me.
I'm using QT 4.0.1 on this machine (Yes, I'm aware that 4.1.1 is out - I'd have to re-compile a new set of libraries with similar arguments to ./configure that were not trivial to get 4.1.1 on this machine).
Any ideas? Thanks.
Bookmarks