Browse Source

Merge pull request #65759 from nathanfranke/migrate-project-manager

Print each migrated project path instead of always printing "migrating" when there are none
Rémi Verschelde 2 years ago
parent
commit
65692ce91c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      editor/project_manager.cpp

+ 2 - 1
editor/project_manager.cpp

@@ -1253,7 +1253,6 @@ void ProjectList::migrate_config() {
 	if (FileAccess::exists(_config_path)) {
 	if (FileAccess::exists(_config_path)) {
 		return;
 		return;
 	}
 	}
-	print_line("Migrating legacy project list");
 
 
 	List<PropertyInfo> properties;
 	List<PropertyInfo> properties;
 	EditorSettings::get_singleton()->get_property_list(&properties);
 	EditorSettings::get_singleton()->get_property_list(&properties);
@@ -1266,6 +1265,8 @@ void ProjectList::migrate_config() {
 		}
 		}
 
 
 		String path = EDITOR_GET(property_key);
 		String path = EDITOR_GET(property_key);
+		print_line("Migrating legacy project '" + path + "'.");
+
 		String favoriteKey = "favorite_projects/" + property_key.get_slice("/", 1);
 		String favoriteKey = "favorite_projects/" + property_key.get_slice("/", 1);
 		bool favorite = EditorSettings::get_singleton()->has_setting(favoriteKey);
 		bool favorite = EditorSettings::get_singleton()->has_setting(favoriteKey);
 		add_project(path, favorite);
 		add_project(path, favorite);