mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 16:24:59 +00:00
LibGUI: Convert GToolBar to ObjectPtr
This commit is contained in:
parent
b78225941d
commit
f4531c976c
6 changed files with 10 additions and 8 deletions
|
@ -21,7 +21,7 @@ TextEditorWidget::TextEditorWidget()
|
|||
set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
layout()->set_spacing(0);
|
||||
|
||||
auto* toolbar = new GToolBar(this);
|
||||
auto toolbar = GToolBar::construct(this);
|
||||
m_editor = GTextEditor::construct(GTextEditor::MultiLine, this);
|
||||
m_editor->set_ruler_visible(true);
|
||||
m_editor->set_automatic_indentation_enabled(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue