1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:27:36 +00:00

LibGUI: Make GTableModel a retainable object.

It became clear that this class needs to support multiple owners.
This commit is contained in:
Andreas Kling 2019-03-20 03:27:07 +01:00
parent 41c744b3c8
commit f47945759b
22 changed files with 44 additions and 34 deletions

View file

@ -92,7 +92,7 @@ int main(int argc, char** argv)
window->set_should_exit_event_loop_on_close(true);
Terminal terminal(ptm_fd);
window->set_has_alpha_channel(true);
window->set_has_alpha_channel(false);
window->set_main_widget(&terminal);
window->move_to(300, 300);
terminal.apply_size_increments_to_window(*window);