diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-23 18:20:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-23 18:20:00 +0200 |
commit | 72a3f69df77465049387764bf29c0d0a92803a43 (patch) | |
tree | 160ded21347010299cdb887aa27cc4e3367b5846 /DevTools/VisualBuilder | |
parent | fbae03b73757ed07070c88a1f6b20915cb434cbb (diff) | |
download | serenity-72a3f69df77465049387764bf29c0d0a92803a43.zip |
LibGUI: Get rid of GWindow::should_exit_event_loop_on_close().
This behavior and API was extremely counter-intuitive since our default
behavior was for applications to never exit after you close all of their
windows.
Now that we exit the event loop by default when the very last GWindow is
deleted, we don't have to worry about this.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r-- | DevTools/VisualBuilder/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/VisualBuilder/main.cpp b/DevTools/VisualBuilder/main.cpp index e019291082..b456573e56 100644 --- a/DevTools/VisualBuilder/main.cpp +++ b/DevTools/VisualBuilder/main.cpp @@ -60,7 +60,7 @@ int main(int argc, char** argv) window->set_title(form1->name()); window->set_rect(120, 200, 640, 400); window->set_main_widget(form1); - window->set_should_exit_event_loop_on_close(true); + window->show(); auto* toolbox = make_toolbox_window(); |