summaryrefslogtreecommitdiff
path: root/ui/stackview.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/stackview.h')
-rw-r--r--ui/stackview.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/stackview.h b/ui/stackview.h
index d198ff4d..4837f9b3 100644
--- a/ui/stackview.h
+++ b/ui/stackview.h
@@ -199,8 +199,6 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View
size_t m_tokenIndex;
bool m_needFirstFocus;
- std::optional<int64_t> m_baseOffset;
-
//! Bind and register all stack view actions.
void setupActions();
@@ -283,7 +281,7 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View
void setBaseRegister(ArchitectureRef arch, std::optional<std::string> regName);
//! Set the base offset to a constant (or clear on nullopt)
- void setBaseOffset(std::optional<int64_t> offset);
+ void setBaseOffset(FunctionRef func, std::optional<int64_t> offset);
//! Override the default event handler so we can have nice tooltips.
bool event(QEvent* event) override;