PDA

View Full Version : QItemSelectionModel::selectedIndexes() fail



Stapl
15th September 2009, 09:59
Hi,

I'm trying to receive current selected items in QTreeView, using:

selectionModel()->selectedIndexes() and as result I have a message:

".... This may be do to corruption of the heap in SpreadsheetWidget.exe ....".

What this can be?

andrey_s
22nd October 2009, 02:54
I get the same error. My app crashes when stack variable with copy of selected indexes goes out from the scope. Application crashes in QList destructor, I have no idea how to fix it. Did you find solution??