Results 1 to 2 of 2

Thread: QItemSelectionModel::selectedIndexes() fail

  1. #1
    Join Date
    Sep 2009

    Default QItemSelectionModel::selectedIndexes() fail


    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?

  2. #2
    Join Date
    Oct 2009
    Qt products
    MacOS X Windows

    Default Re: QItemSelectionModel::selectedIndexes() fail

    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??

Similar Threads

  1. QPixmap/QImage fail to load jpg files in vista
    By schan117 in forum Qt Programming
    Replies: 2
    Last Post: 7th September 2009, 16:48
  2. Problem in own model (modeltest fail)
    By airbites in forum Qt Programming
    Replies: 3
    Last Post: 30th July 2009, 11:06
  3. Fail to deploy a static app in qt 4.5
    By HelloDan in forum Installation and Deployment
    Replies: 1
    Last Post: 1st June 2009, 06:16
  4. Fail to build debug libraries in QT4.3.2
    By SamT in forum Installation and Deployment
    Replies: 5
    Last Post: 15th February 2008, 07:50
  5. OT : QSql - connections fail after a while.
    By Harvey West in forum Qt Programming
    Replies: 6
    Last Post: 19th January 2007, 14:46


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.