From 9e8d3194ed13fd0da7894b1f5dc1505ce18742b0 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 28 Aug 2023 12:44:36 -0400 Subject: Revert "Fix object lifetimes for view sensitive widgets in the UI." This reverts commit a693c795f73686eb8901eeb70e252b9ca796049d. --- ui/sidebar.h | 4 +--- 1 file changed, 1 insertion(+), 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>> m_widgets; - std::map> m_frames; + std::map>> m_widgets; std::map>> m_priorWidgets; std::map>> m_priorContentSplitterSizes; std::map>> m_priorParentSplitterSizes; -- cgit v1.3.1