mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibGUI: Remove unnecessary curly braces
Not needed for the commit, but I always try to leave the code nicer than I found it. :)
This commit is contained in:
parent
416988cc7f
commit
989c111d65
1 changed files with 1 additions and 2 deletions
|
@ -186,9 +186,8 @@ void GMLAutocompleteProvider::provide_completions(Function<void(Vector<Entry>)>
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case AfterIdentifier:
|
case AfterIdentifier:
|
||||||
if (last_seen_token && last_seen_token->m_end.line != cursor.line()) {
|
if (last_seen_token && last_seen_token->m_end.line != cursor.line())
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
if (identifier_string == "layout") {
|
if (identifier_string == "layout") {
|
||||||
Core::ObjectClassRegistration::for_each([&](const Core::ObjectClassRegistration& registration) {
|
Core::ObjectClassRegistration::for_each([&](const Core::ObjectClassRegistration& registration) {
|
||||||
if (!registration.is_derived_from(widget_class))
|
if (!registration.is_derived_from(widget_class))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue