فهرست منبع

Merge pull request #8442 from volzhs/error-load-icon-2.1

Fix error for loading icon image at start up
Rémi Verschelde 8 سال پیش
والد
کامیت
6b0c384f79
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      main/main.cpp

+ 1 - 0
main/main.cpp

@@ -1404,6 +1404,7 @@ bool Main::start() {
 
 				String iconpath = GLOBAL_DEF("application/icon", "Variant()");
 				if (iconpath != "") {
+					iconpath = PathRemap::get_singleton()->get_remap(iconpath);
 					Image icon;
 					if (icon.load(iconpath) == OK)
 						OS::get_singleton()->set_icon(icon);