diff options
author | Erik Biederstadt <biederstadterik@gmail.com> | 2021-07-03 15:33:57 -0600 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-04 01:14:54 +0200 |
commit | ba4d367deae1543ffd03c538dba66bb367fdbc38 (patch) | |
tree | f4761ca20a9d0c59bf5ada0bd23cb1c0567b6275 /Userland/DevTools/HackStudio/HackStudioWidget.h | |
parent | e1ff30a3605e9242ee30525b04adb71bcc9162db (diff) | |
download | serenity-ba4d367deae1543ffd03c538dba66bb367fdbc38.zip |
HackStudio: Remove old form editing logic
In the past Hack Studio had the ability to design GUI widgets via `.frm`
files. We now use the GML playground for this purpose, and the old code
can be removed. `.frm` files are now treated as plain text files.
This commit also fixes a crash when opening `.frm` files.
`m_form_inner_container` was never instantiated, and caused a null
pointer dereference.
Diffstat (limited to 'Userland/DevTools/HackStudio/HackStudioWidget.h')
-rw-r--r-- | Userland/DevTools/HackStudio/HackStudioWidget.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Userland/DevTools/HackStudio/HackStudioWidget.h b/Userland/DevTools/HackStudio/HackStudioWidget.h index 86e56596f0..1e13cd609c 100644 --- a/Userland/DevTools/HackStudio/HackStudioWidget.h +++ b/Userland/DevTools/HackStudio/HackStudioWidget.h @@ -65,7 +65,6 @@ private: enum class EditMode { Text, - Form, Diff, }; @@ -133,8 +132,6 @@ private: RefPtr<GUI::VerticalSplitter> m_right_hand_splitter; RefPtr<GUI::StackWidget> m_right_hand_stack; RefPtr<GUI::Splitter> m_editors_splitter; - RefPtr<GUI::Widget> m_form_inner_container; - RefPtr<GUI::TreeView> m_form_widget_tree_view; RefPtr<DiffViewer> m_diff_viewer; RefPtr<GitWidget> m_git_widget; RefPtr<ClassViewWidget> m_class_view; |