summaryrefslogtreecommitdiff
path: root/gui/digitlabeldelegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/digitlabeldelegate.cc')
-rw-r--r--gui/digitlabeldelegate.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/digitlabeldelegate.cc b/gui/digitlabeldelegate.cc
index bf4b175..430946c 100644
--- a/gui/digitlabeldelegate.cc
+++ b/gui/digitlabeldelegate.cc
@@ -16,7 +16,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#include "digitlabeldelegate.h"
-#include "digitlabelhelper.h"
+#include "util.h"
#include <QString>
void DigitLabelDelegate::set_hex_display(bool hex)
@@ -39,7 +39,7 @@ void DigitLabelDelegate::paint(
QStyle *s;
v = index.data(Qt::DisplayRole).toInt();
- t = DigitLabelHelper::format_value(v, this->is_hex);
+ t = format_toggled_value(v, this->is_hex);
o = option;
initStyleOption(&o, index);