1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:28:13 +00:00

LibGUI: Remove Window background color

The `m_background_color` field was not used anywhere. Both `Terminal`
and the `ColorPicker` widget invoked `set_background_color()` to no
avail.
This commit is contained in:
Jelle Raaijmakers 2022-01-31 00:17:32 +01:00 committed by Andreas Kling
parent 687276fc38
commit 48eecaad64
3 changed files with 0 additions and 7 deletions

View file

@ -283,7 +283,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto window = TRY(GUI::Window::try_create());
window->set_title("Terminal");
window->set_background_color(Color::Black);
window->set_double_buffering_enabled(false);
auto terminal = TRY(window->try_set_main_widget<VT::TerminalWidget>(ptm_fd, true));