diff options
Diffstat (limited to 'Games')
-rw-r--r-- | Games/Minesweeper/main.cpp | 2 | ||||
-rw-r--r-- | Games/Snake/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index 4f7ce5468f..8556815d89 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -104,7 +104,7 @@ int main(int argc, char** argv) app_menu.add_separator(); app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) { - GUI::Application::the().quit(0); + GUI::Application::the()->quit(); return; })); diff --git a/Games/Snake/main.cpp b/Games/Snake/main.cpp index ad24a3449e..6abc482e66 100644 --- a/Games/Snake/main.cpp +++ b/Games/Snake/main.cpp @@ -65,7 +65,7 @@ int main(int argc, char** argv) game.reset(); })); app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) { - GUI::Application::the().quit(0); + GUI::Application::the()->quit(); })); auto& help_menu = menubar->add_menu("Help"); |