From a20a508bc4ffb659344bb2a0d7c5ff6021c8c980 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 25 Jan 2022 00:19:21 -0500 Subject: Move file lock status widget into main window to avoid use after free when moving tabs between windows --- ui/viewframe.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/viewframe.h') diff --git a/ui/viewframe.h b/ui/viewframe.h index 29d0c823..713dee56 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -322,7 +322,6 @@ private: FileContext* m_context; bool m_fileContentsLock = true; // file contents protection from accidental modification in the UI - ClickableStateLabel* m_fileContentsLockStatus; BinaryViewRef m_data; QWidget* m_view = nullptr; QWidget* m_viewContainer; @@ -358,7 +357,6 @@ public: FileContext* getFileContext() const { return m_context; } bool areFileContentsLocked(bool showToolTip = false); void setFileContentsLocked(bool enable); - QWidget* getFileContentsLockStatus(); DockHandler* getDockHandler(); -- cgit v1.3.1