| 43 | |
| 44 | |
| 45 | bool DebugStackItem::operator<(const DebugStackItem& other) const |
| 46 | { |
| 47 | if (m_offset < other.offset()) |
| 48 | return true; |
| 49 | else if (m_offset > other.offset()) |
| 50 | return false; |
| 51 | else if (m_address < other.address()) |
| 52 | return true; |
| 53 | else if (m_address > other.address()) |
| 54 | return false; |
| 55 | else if (m_value < other.value()) |
| 56 | return true; |
| 57 | else if (m_value > other.value()) |
| 58 | return false; |
| 59 | else if (m_valueStatus > other.valueStatus()) |
| 60 | return false; |
| 61 | return m_hint < other.hint(); |
| 62 | } |
| 63 | |
| 64 | |
| 65 | DebugStackListModel::DebugStackListModel(QWidget* parent, BinaryViewRef data, ViewFrame* view) : |
nothing calls this directly
no test coverage detected