1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

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.
This commit is contained in:
Erik Biederstadt 2021-07-03 15:33:57 -06:00 committed by Gunnar Beutner
parent e1ff30a360
commit ba4d367dea
2 changed files with 1 additions and 10 deletions

View file

@ -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;