diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2022-01-25 00:19:21 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2022-01-25 00:22:15 -0500 |
| commit | a20a508bc4ffb659344bb2a0d7c5ff6021c8c980 (patch) | |
| tree | 212ef8c35019b49ef947b4ba1e650857a06ba22a /ui/viewframe.h | |
| parent | b4e190b583a31af97935a89f589e8ae159859bae (diff) | |
Move file lock status widget into main window to avoid use after free when moving tabs between windows
Diffstat (limited to 'ui/viewframe.h')
| -rw-r--r-- | ui/viewframe.h | 2 |
1 files changed, 0 insertions, 2 deletions
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(); |
