summaryrefslogtreecommitdiff
path: root/LibGUI/GApplication.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-17 09:58:35 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-17 09:59:56 +0100
commit4b15dd2bcac74f973bc068ac68986ec513e63731 (patch)
tree3f5ed32898e30af189ed54a0cc884aaf184ef6e5 /LibGUI/GApplication.cpp
parentfa13e1977e439e9776119490bf0d9b52293dbd32 (diff)
downloadserenity-4b15dd2bcac74f973bc068ac68986ec513e63731.zip
LibGUI: Rename GEventLoop::exit() and GApplication::exit() to quit().
These functions don't exit immediately, but rather on the next iteration of the event loop. Since exit() is already used by the standard library, let's call it quit() instead. That way, saying exit() means the same thing here as anywhere else.
Diffstat (limited to 'LibGUI/GApplication.cpp')
-rw-r--r--LibGUI/GApplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GApplication.cpp b/LibGUI/GApplication.cpp
index a5d520c5a6..f212bbf202 100644
--- a/LibGUI/GApplication.cpp
+++ b/LibGUI/GApplication.cpp
@@ -26,9 +26,9 @@ int GApplication::exec()
return m_event_loop->exec();
}
-void GApplication::exit(int exit_code)
+void GApplication::quit(int exit_code)
{
- m_event_loop->exit(exit_code);
+ m_event_loop->quit(exit_code);
}
void GApplication::set_menubar(OwnPtr<GMenuBar>&& menubar)