Qt: Really fix the build this time
Jeffrey Pfau jeffrey@endrift.com
Sat, 10 Oct 2015 21:09:57 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/IOViewer.cpp
→
src/platform/qt/IOViewer.cpp
@@ -134,7 +134,7 @@ m_value |= m_ui.bC->isChecked() << 0xC;
m_value |= m_ui.bD->isChecked() << 0xD; m_value |= m_ui.bE->isChecked() << 0xE; m_value |= m_ui.bF->isChecked() << 0xF; - m_ui.regValue->setText(QString::asprintf("0x%04X", m_value)); + m_ui.regValue->setText("0x" + QString("%1").arg(m_value, 4, 16, QChar('0')).toUpper()); } void IOViewer::writeback() {