summaryrefslogtreecommitdiffstats
path: root/editor/plugins/resource_preloader_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/resource_preloader_editor_plugin.cpp')
-rw-r--r--editor/plugins/resource_preloader_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/resource_preloader_editor_plugin.cpp b/editor/plugins/resource_preloader_editor_plugin.cpp
index ee7ad739b8..9b31e40e94 100644
--- a/editor/plugins/resource_preloader_editor_plugin.cpp
+++ b/editor/plugins/resource_preloader_editor_plugin.cpp
@@ -34,10 +34,10 @@
#include "core/io/resource_loader.h"
#include "editor/editor_interface.h"
#include "editor/editor_node.h"
-#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_file_dialog.h"
+#include "editor/themes/editor_scale.h"
void ResourcePreloaderEditor::_notification(int p_what) {
switch (p_what) {
@@ -50,7 +50,7 @@ void ResourcePreloaderEditor::_notification(int p_what) {
void ResourcePreloaderEditor::_files_load_request(const Vector<String> &p_paths) {
for (int i = 0; i < p_paths.size(); i++) {
- String path = p_paths[i];
+ const String &path = p_paths[i];
Ref<Resource> resource;
resource = ResourceLoader::load(path);