| 23 | } |
| 24 | |
| 25 | void HexWidget::setData(const QByteArray &ba) { |
| 26 | if (!isEnabled()) { |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | m_scrolled = false; |
| 31 | m_data = ba; |
| 32 | m_modified.resize(m_data.size()); |
| 33 | m_modified.fill(0); |
| 34 | adjust(); |
| 35 | } |
| 36 | |
| 37 | void HexWidget::prependData(const QByteArray &ba) { |
| 38 | m_data.prepend(ba); |
nothing calls this directly
no outgoing calls
no test coverage detected