diff options
| author | Brian Potchik <brian@vector35.com> | 2023-08-28 12:44:36 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2023-08-28 12:44:36 -0400 |
| commit | 9e8d3194ed13fd0da7894b1f5dc1505ce18742b0 (patch) | |
| tree | b858893d82711fdc9f59f81545bc877e0f3ecaa8 | |
| parent | 1c0b8f816484418caa7e262c09b2a79087a53779 (diff) | |
Revert "Fix object lifetimes for view sensitive widgets in the UI."
This reverts commit a693c795f73686eb8901eeb70e252b9ca796049d.
| -rw-r--r-- | ui/sidebar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/sidebar.h b/ui/sidebar.h index 56bf98ce..ead1ca8d 100644 --- a/ui/sidebar.h +++ b/ui/sidebar.h @@ -145,7 +145,6 @@ class BINARYNINJAUIAPI SidebarWidgetType void updateTheme(); }; -class FileContext; class ViewFrame; /*! @@ -178,8 +177,7 @@ class BINARYNINJAUIAPI SidebarWidgetContainer : public QWidget SidebarWidgetType* m_lastContentActive = nullptr; SidebarWidgetType* m_referenceActive = nullptr; SidebarWidgetType* m_pendingReferenceType = nullptr; - std::map<FileContext*, std::map<QString, std::map<SidebarWidgetType*, SidebarWidgetAndHeader*>>> m_widgets; - std::map<FileContext*, std::set<ViewFrame*>> m_frames; + std::map<ViewFrame*, std::map<QString, std::map<SidebarWidgetType*, SidebarWidgetAndHeader*>>> m_widgets; std::map<SplitPaneWidget*, std::map<QString, std::pair<SidebarWidgetType*, SidebarWidgetType*>>> m_priorWidgets; std::map<SplitPaneWidget*, std::map<QString, QList<int>>> m_priorContentSplitterSizes; std::map<SplitPaneWidget*, std::map<QString, QList<int>>> m_priorParentSplitterSizes; |
