diff options
Diffstat (limited to 'main/tests/test_gui.cpp')
-rw-r--r-- | main/tests/test_gui.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp index c5c8917a51..d46a13d2c0 100644 --- a/main/tests/test_gui.cpp +++ b/main/tests/test_gui.cpp @@ -59,14 +59,11 @@ namespace TestGUI { class TestMainLoop : public SceneTree { - public: virtual void request_quit() { - quit(); } virtual void init() { - SceneTree::init(); Panel *frame = memnew(Panel); @@ -266,9 +263,9 @@ public: }; MainLoop *test() { - return memnew(TestMainLoop); } + } // namespace TestGUI #endif |