MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setData

Method setData

gui/qt/debugger/hexwidget.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void 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
37void HexWidget::prependData(const QByteArray &ba) {
38 m_data.prepend(ba);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected