summaryrefslogtreecommitdiffstats
path: root/platform/ios
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-08-13 02:33:39 +0200
committerkobewi <kobewi4e@gmail.com>2023-09-03 19:58:18 +0200
commit6de34fde27f650f738a1e46992f1b783f2cf9e76 (patch)
treea1c1785f2c20e8874d622aae75ff70be43192ece /platform/ios
parentfa3428ff25bc577d2a3433090478a6d615567056 (diff)
downloadredot-engine-6de34fde27f650f738a1e46992f1b783f2cf9e76.tar.gz
Add EditorStringNames singleton
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/export/export_plugin.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp
index b6320fb22b..a8596c30a6 100644
--- a/platform/ios/export/export_plugin.cpp
+++ b/platform/ios/export/export_plugin.cpp
@@ -38,6 +38,7 @@
#include "editor/editor_node.h"
#include "editor/editor_paths.h"
#include "editor/editor_scale.h"
+#include "editor/editor_string_names.h"
#include "editor/export/editor_export.h"
#include "editor/import/resource_importer_texture_settings.h"
#include "editor/plugins/script_editor_plugin.h"
@@ -2013,11 +2014,11 @@ Ref<ImageTexture> EditorExportPlatformIOS::get_option_icon(int p_index) const {
Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme();
if (theme.is_valid()) {
if (devices[p_index].simulator) {
- icon = theme->get_icon("IOSSimulator", "EditorIcons");
+ icon = theme->get_icon("IOSSimulator", EditorStringName(EditorIcons));
} else if (devices[p_index].wifi) {
- icon = theme->get_icon("IOSDeviceWireless", "EditorIcons");
+ icon = theme->get_icon("IOSDeviceWireless", EditorStringName(EditorIcons));
} else {
- icon = theme->get_icon("IOSDeviceWired", "EditorIcons");
+ icon = theme->get_icon("IOSDeviceWired", EditorStringName(EditorIcons));
}
}
}