mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Update if == NOTIFICATION_* to switch statements to match coding style
This commit is contained in:
parent
98b97d34df
commit
8824b6c5e9
38 changed files with 1134 additions and 1016 deletions
|
|
@ -356,6 +356,7 @@ void ScriptEditorQuickOpen::_notification(int p_what) {
|
|||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
search_box->set_right_icon(search_options->get_theme_icon(SNAME("Search"), SNAME("EditorIcons")));
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
disconnect("confirmed", callable_mp(this, &ScriptEditorQuickOpen::_confirmed));
|
||||
} break;
|
||||
|
|
@ -1667,9 +1668,6 @@ void ScriptEditor::_notification(int p_what) {
|
|||
}
|
||||
|
||||
} break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue