diff options
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.cpp | 5 | ||||
-rw-r--r-- | core/os/os.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index 8af141ef2f..182bab4058 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -226,11 +226,6 @@ int OS::get_exit_code() const { void OS::set_exit_code(int p_code) { _exit_code = p_code; - _is_custom_exit_code = true; -} - -bool OS::is_custom_exit_code() { - return _is_custom_exit_code; } String OS::get_locale() const { diff --git a/core/os/os.h b/core/os/os.h index a740a23617..e41d788e12 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -55,7 +55,6 @@ class OS { String _local_clipboard; bool _no_window = false; int _exit_code = EXIT_FAILURE; // unexpected exit is marked as failure - bool _is_custom_exit_code = false; int _orientation; bool _allow_hidpi = false; bool _allow_layered = false; @@ -270,7 +269,6 @@ public: virtual int get_exit_code() const; virtual void set_exit_code(int p_code); - virtual bool is_custom_exit_code(); virtual int get_processor_count() const; |