Results 1 to 2 of 2

Thread: QSortFilterProxyModel Q_Assert cm message.

  1. #1
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QSortFilterProxyModel Q_Assert cm message.

    I have a model(lets call it base model) on which various QSortFilterProxyModel are connected.
    In the base model (hierarchial) I call beginRemoveRows and endRemoveRows(). This leads to a Q_ASSERT message from QSortFilterProxyModel as:
    ASSERT: "cm" in file itemviews/qsortfilterproxymodel.cpp line 935.
    Now, it seems like a bug. But it is terrible in reproduction. It only happens some times. And I don't get any documentation for this assert. Can anyone tell me what this error signifies?

  2. #2
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSortFilterProxyModel Q_Assert cm message.

    Created bug for the same. Perhaps need to write some minimum working code to recreate it too.

Similar Threads

  1. Qsortfilterproxymodel
    By migel in forum Newbie
    Replies: 1
    Last Post: 3rd October 2011, 16:40
  2. Strange error message while using Q_ASSERT
    By homerun4711 in forum Newbie
    Replies: 2
    Last Post: 11th January 2011, 14:34
  3. How to break in debugger in Q_ASSERT ?
    By Radagast in forum Qt Programming
    Replies: 3
    Last Post: 24th May 2010, 13:42
  4. Replies: 4
    Last Post: 12th October 2008, 13:47

Tags for this Thread

Bookmarks

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.