From 98a329670227c726a5d7a196e5cba8dbdd54301b Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 17 May 2017 07:36:47 -0300 Subject: Removal of Image from Variant, converted to a Resource. --- core/os/os.cpp | 2 +- core/os/os.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'core/os') diff --git a/core/os/os.cpp b/core/os/os.cpp index e323e03829..8bee725813 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -389,7 +389,7 @@ void OS::_ensure_data_dir() { memdelete(da); } -void OS::set_icon(const Image &p_icon) { +void OS::set_icon(const Ref &p_icon) { } String OS::get_model_name() const { diff --git a/core/os/os.h b/core/os/os.h index ff2a24f40d..037ce436c1 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -31,6 +31,7 @@ #define OS_H #include "engine.h" +#include "image.h" #include "list.h" #include "os/main_loop.h" #include "power.h" @@ -357,7 +358,7 @@ public: virtual void make_rendering_thread(); virtual void swap_buffers(); - virtual void set_icon(const Image &p_icon); + virtual void set_icon(const Ref &p_icon); virtual int get_exit_code() const; virtual void set_exit_code(int p_code); -- cgit v1.2.3