From b98c2671b34b8047fa7bde17f71701a8718f3f6c Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Fri, 20 Mar 2020 20:13:34 +0200 Subject: [PATCH] Use cmdRaw and cmdRawAt in Dashboard --- src/widgets/Dashboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/Dashboard.cpp b/src/widgets/Dashboard.cpp index 8ae3477b..34d6b6dc 100644 --- a/src/widgets/Dashboard.cpp +++ b/src/widgets/Dashboard.cpp @@ -105,7 +105,7 @@ void Dashboard::updateContents() // Calculate the Entropy of the entire binary from offset 0 to $s // where $s is the size of the entire file - QString entropy = Core()->cmd("ph entropy $s @ 0").trimmed(); + QString entropy = Core()->cmdRawAt("ph entropy $s", 0).trimmed(); // Define a Read-Only line edit to display the entropy value QLineEdit *entropyLineEdit = new QLineEdit();