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/uicontext.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/uicontext.h') diff --git a/ui/uicontext.h b/ui/uicontext.h index 8dce4b38..cb9a5391 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -322,6 +322,8 @@ public: */ QString GetNameForPath(const QString& path); + virtual QWidget* fileContentsLockStatusWidget() = 0; + static void setHandler(UIContextHandler* handler); static QSize getScaledWindowSize(int x, int y); -- cgit v1.3.1