summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2019-10-22 23:11:42 -0400
committerBrian Potchik <brian@vector35.com>2019-10-22 23:11:42 -0400
commita49e1b7d4e3d1bab73337b6d9412350f39f5ce15 (patch)
treec5c54b757a6c9e7e995c86f5423c2bcdbbb00044
parentad4a9bb0f54a2be3f4f701494f10094fcc815262 (diff)
Fix SymbolsView context menu.
-rw-r--r--ui/symbollist.h4
-rw-r--r--ui/symbolsview.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/ui/symbollist.h b/ui/symbollist.h
index c68fbcf9..aa61abf3 100644
--- a/ui/symbollist.h
+++ b/ui/symbollist.h
@@ -278,9 +278,6 @@ class BINARYNINJAUIAPI SymbolList: public QListView, public FilterTarget
SymbolListModel* m_list;
QTimer* m_updateTimer;
bool m_disableScrollToFunction;
- UIActionHandler m_actionHandler;
- Menu m_menu;
- ContextMenuManager m_contextMenuManager;
bool m_showExportedFunctions;
bool m_showExportedDataVars;
@@ -327,7 +324,6 @@ public:
protected:
virtual void focusOutEvent(QFocusEvent* event) override;
virtual void keyPressEvent(QKeyEvent* event) override;
- virtual void contextMenuEvent(QContextMenuEvent* /*event*/) override;
private Q_SLOTS:
void goToSymbol(const QModelIndex& i);
diff --git a/ui/symbolsview.h b/ui/symbolsview.h
index 25eeab6e..da857521 100644
--- a/ui/symbolsview.h
+++ b/ui/symbolsview.h
@@ -14,6 +14,8 @@ class BINARYNINJAUIAPI SymbolsView: public QWidget, public DockContextHandler, p
Q_OBJECT
Q_INTERFACES(DockContextHandler)
+ friend class SymbolList;
+
BinaryViewRef m_data;
SymbolList* m_funcList;