Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSortFilterProxyModel unknown Q_ASSERT 'cm' message
Forum Updated to NodeBB v4.3 + New Features

QSortFilterProxyModel unknown Q_ASSERT 'cm' message

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pkj__
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pkj__
      wrote on last edited by
      #2

      It is a bug. "Remove on source Model":https://bugreports.qt-project.org/browse/QTBUG-27289
      I have created one. But didn't had time to write a minimum working code to recreate it :(

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved