Remove additional 0x prefix in the registers widget (#2896)

This commit is contained in:
yossizap 2022-02-19 15:34:08 +00:00 committed by GitHub
parent 1b271a0ae8
commit d65a352b1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ void RegistersWidget::setRegisterGrid()
registerLen = registerRefs.size(); registerLen = registerRefs.size();
for (auto &reg : registerRefs) { for (auto &reg : registerRefs) {
regValue = "0x" + reg.value; regValue = reg.value;
// check if we already filled this grid space with label/value // check if we already filled this grid space with label/value
if (!registerLayout->itemAtPosition(i, col)) { if (!registerLayout->itemAtPosition(i, col)) {
registerLabel = new QLabel; registerLabel = new QLabel;