diff options
Diffstat (limited to 'Applications/Terminal/main.cpp')
-rw-r--r-- | Applications/Terminal/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index 87fa692d02..8304cd0b25 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -121,7 +121,7 @@ GWindow* create_settings_window(TerminalWidget& terminal, RefPtr<CConfigFile> co slider_container->set_fill_with_background_color(true); slider_container->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); slider_container->set_preferred_size(100, 50); - auto* slider = new GSlider(Orientation::Horizontal, slider_container); + auto slider = GSlider::construct(Orientation::Horizontal, slider_container); slider->set_fill_with_background_color(true); slider->set_background_color(Color::WarmGray); |