summaryrefslogtreecommitdiff
path: root/Applications/Terminal
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-23 18:20:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-23 18:20:00 +0200
commit72a3f69df77465049387764bf29c0d0a92803a43 (patch)
tree160ded21347010299cdb887aa27cc4e3367b5846 /Applications/Terminal
parentfbae03b73757ed07070c88a1f6b20915cb434cbb (diff)
downloadserenity-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 'Applications/Terminal')
-rw-r--r--Applications/Terminal/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp
index 624e85f2cb..3be7ae441e 100644
--- a/Applications/Terminal/main.cpp
+++ b/Applications/Terminal/main.cpp
@@ -146,7 +146,6 @@ int main(int argc, char** argv)
window->set_title("Terminal");
window->set_background_color(Color::Black);
window->set_double_buffering_enabled(false);
- window->set_should_exit_event_loop_on_close(true);
RefPtr<CConfigFile> config = CConfigFile::get_for_app("Terminal");
Terminal terminal(ptm_fd, config);