From d65a352b1d51bb8b54b4c85f312ae1f990dbf92d Mon Sep 17 00:00:00 2001 From: yossizap Date: Sat, 19 Feb 2022 15:34:08 +0000 Subject: [PATCH] Remove additional 0x prefix in the registers widget (#2896) --- src/widgets/RegistersWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/RegistersWidget.cpp b/src/widgets/RegistersWidget.cpp index b6354fd3..ad9482e1 100644 --- a/src/widgets/RegistersWidget.cpp +++ b/src/widgets/RegistersWidget.cpp @@ -51,7 +51,7 @@ void RegistersWidget::setRegisterGrid() registerLen = registerRefs.size(); for (auto ® : registerRefs) { - regValue = "0x" + reg.value; + regValue = reg.value; // check if we already filled this grid space with label/value if (!registerLayout->itemAtPosition(i, col)) { registerLabel = new QLabel;