| 2 | #include "stacktracemodel.h" |
| 3 | |
| 4 | StackTraceProxyModel::StackTraceProxyModel(QAbstractItemModel* srcModel, QObject *parent) |
| 5 | : QSortFilterProxyModel(parent) { |
| 6 | setSourceModel(srcModel); |
| 7 | } |
| 8 | |
| 9 | bool StackTraceProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const { |
| 10 | auto leftData = sourceModel()->data(left, Qt::UserRole); |
nothing calls this directly
no outgoing calls
no test coverage detected