diff options
-rw-r--r-- | Userland/Games/Pong/Game.h | 1 | ||||
-rw-r--r-- | Userland/Games/Pong/main.cpp | 10 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Userland/Games/Pong/Game.h b/Userland/Games/Pong/Game.h index 92a8e7cc1c..8a464a1f1c 100644 --- a/Userland/Games/Pong/Game.h +++ b/Userland/Games/Pong/Game.h @@ -7,7 +7,6 @@ #pragma once #include <AK/Optional.h> -#include <LibCore/ConfigFile.h> #include <LibGUI/Application.h> #include <LibGUI/MessageBox.h> #include <LibGUI/Painter.h> diff --git a/Userland/Games/Pong/main.cpp b/Userland/Games/Pong/main.cpp index 79bff5501b..48f835ddfc 100644 --- a/Userland/Games/Pong/main.cpp +++ b/Userland/Games/Pong/main.cpp @@ -1,11 +1,10 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include "Game.h" -#include <LibCore/ConfigFile.h> #include <LibGUI/Application.h> #include <LibGUI/Icon.h> #include <LibGUI/Menu.h> @@ -28,18 +27,11 @@ int main(int argc, char** argv) return 1; } - auto config = Core::ConfigFile::open_for_app("Pong"); - if (unveil("/res", "r") < 0) { perror("unveil"); return 1; } - if (unveil(config->filename().characters(), "rwc") < 0) { - perror("unveil"); - return 1; - } - if (unveil(nullptr, nullptr) < 0) { perror("unveil"); return 1; |