From e88ed98d60b046cbeb5f4c96fc374c7576d7b57a Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 28 Dec 2021 15:59:31 -0500 Subject: OptionsDialog/SettingsView + ProgressTask fixes --- ui/filecontext.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ui/filecontext.h') diff --git a/ui/filecontext.h b/ui/filecontext.h index 54861591..e31037ed 100644 --- a/ui/filecontext.h +++ b/ui/filecontext.h @@ -31,7 +31,7 @@ class BINARYNINJAUIAPI FileContext: public FileContextBase, public BinaryNinja:: std::map m_dataViews; ViewFrame* m_currentViewFrame; - std::set m_refs; + std::map m_refs; std::vector m_syncGroups; std::map> m_syncLastLocation; @@ -45,7 +45,8 @@ public: FileContext(FileMetadataRef file, BinaryViewRef rawData, const QString& filename = QString(), bool isValidSaveName = false, bool createViews = true); virtual ~FileContext(); - void registerReference(QWidget* widget); + void registerReference(QObject* widget); + void unregisterReference(QObject* widget); void close(); static void closeAllOpenFiles(); -- cgit v1.3.1