mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 15:49:15 +00:00
LibGUI: Convert GToolBar to ObjectPtr
This commit is contained in:
parent
b78225941d
commit
f4531c976c
Notes:
sideshowbarker
2024-07-19 12:01:58 +09:00
Author: https://github.com/awesomekling
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