diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-30 10:38:22 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-30 10:38:22 +0100 |
commit | 65692ce91c065eaf120054abc23883746a0dd198 (patch) | |
tree | c94c0047e24bb3ea77bb8921298b2060192610a6 | |
parent | 5826e960143fd416e0d02cf8f672d778f56da9ea (diff) | |
parent | 4581662addd284254bcff686c0a491977b5cc370 (diff) |
Merge pull request #65759 from nathanfranke/migrate-project-manager
Print each migrated project path instead of always printing "migrating" when there are none
-rw-r--r-- | editor/project_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b7cca72624..249504b6e8 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1253,7 +1253,6 @@ void ProjectList::migrate_config() { if (FileAccess::exists(_config_path)) { return; } - print_line("Migrating legacy project list"); List<PropertyInfo> properties; EditorSettings::get_singleton()->get_property_list(&properties); @@ -1266,6 +1265,8 @@ void ProjectList::migrate_config() { } String path = EDITOR_GET(property_key); + print_line("Migrating legacy project '" + path + "'."); + String favoriteKey = "favorite_projects/" + property_key.get_slice("/", 1); bool favorite = EditorSettings::get_singleton()->has_setting(favoriteKey); add_project(path, favorite); |