From 45ddbbd7383eca59e487cf1eec010456c1a97d02 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 11 Aug 2017 19:13:17 +0200 Subject: [PATCH] Fix icon loading error a boot --- main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/main.cpp b/main/main.cpp index 9376d832046..c640129565e 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1464,6 +1464,7 @@ bool Main::start() { String iconpath = GLOBAL_DEF("application/config/icon", "Variant()"); if (iconpath != "") { Ref icon; + icon.instance(); if (icon->load(iconpath) == OK) OS::get_singleton()->set_icon(icon); }