| 869 | } |
| 870 | |
| 871 | void MemoryView::contextCopySegment() |
| 872 | { |
| 873 | if (m_table.GetViewType() == MemoryViewType::FLOAT) |
| 874 | { |
| 875 | u32 intVal = m_table.GetSelectedSegment(cpu()).lo; |
| 876 | float val = 0; |
| 877 | std::memcpy(&val, &intVal, sizeof(val)); |
| 878 | QApplication::clipboard()->setText(QString::number(val, 'g')); |
| 879 | } |
| 880 | else |
| 881 | { |
| 882 | QApplication::clipboard()->setText(QString::number(m_table.GetSelectedSegment(cpu()).lo, 16).toUpper()); |
| 883 | } |
| 884 | } |
| 885 | |
| 886 | void MemoryView::contextCopyCharacter() |
| 887 | { |
nothing calls this directly
no test coverage detected