Dictionary::get_key_list use LocalVector instead of List.
This commit is contained in:
parent
4248411baf
commit
f7e4987d0e
13 changed files with 33 additions and 44 deletions
|
|
@ -1732,9 +1732,7 @@ void FileSystemDock::_folder_removed(const String &p_folder) {
|
|||
|
||||
// Remove assigned folder color for all subfolders.
|
||||
bool folder_colors_updated = false;
|
||||
List<Variant> paths;
|
||||
assigned_folder_colors.get_key_list(&paths);
|
||||
for (const Variant &E : paths) {
|
||||
for (const Variant &E : assigned_folder_colors.get_key_list()) {
|
||||
const String &path = E;
|
||||
// These folder paths are guaranteed to end with a "/".
|
||||
if (path.begins_with(p_folder)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue