| 83 | |
| 84 | |
| 85 | DebugStackItem DebugStackListModel::getRow(int row) const |
| 86 | { |
| 87 | if ((size_t)row >= m_items.size()) |
| 88 | throw std::runtime_error("row index out-of-bound"); |
| 89 | |
| 90 | return m_items[row]; |
| 91 | } |
| 92 | |
| 93 | |
| 94 | QModelIndex DebugStackListModel::index(int row, int column, const QModelIndex&) const |