summaryrefslogtreecommitdiff
path: root/Applications/About/main.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 /Applications/About/main.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 'Applications/About/main.cpp')
-rw-r--r--Applications/About/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/About/main.cpp b/Applications/About/main.cpp
index ead9a03808..bd405bd719 100644
--- a/Applications/About/main.cpp
+++ b/Applications/About/main.cpp
@@ -39,7 +39,7 @@ int main(int argc, char** argv)
quit_button->set_caption("Okay");
quit_button->set_relative_rect(80, 100, widget->width() - 160, 20);
quit_button->on_click = [] (GButton&) {
- GApplication::the().exit(0);
+ GApplication::the().quit(0);
};
window->show();