diff --git a/src/models/sortfilterroomtreemodel.cpp b/src/models/sortfilterroomtreemodel.cpp index 0d371d766..9a28a8319 100644 --- a/src/models/sortfilterroomtreemodel.cpp +++ b/src/models/sortfilterroomtreemodel.cpp @@ -127,6 +127,7 @@ bool SortFilterRoomTreeModel::filterAcceptsRow(int source_row, const QModelIndex const QModelIndex index = sourceModel()->index(source_row, 0, source_parent); if (!index.isValid()) { qWarning() << source_row << source_parent << sourceModel()->rowCount(source_parent); + Q_ASSERT(false); return true; }