1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibGUI: Remove GUI::AutocompleteProvider::Entry::kind

The only code using it was removed in the previous commit.
This commit is contained in:
thislooksfun 2021-10-26 21:53:49 -05:00 committed by Andreas Kling
parent f699dbdc3f
commit f7f9d09e72
4 changed files with 11 additions and 23 deletions

View file

@ -32,7 +32,6 @@ public:
enum InternalRole {
__ModelRoleCustom = (int)GUI::ModelRole::Custom,
PartialInputLength,
Kind,
Completion,
};
@ -65,9 +64,6 @@ public:
}
}
if ((int)role == InternalRole::Kind)
return (u32)suggestion.kind;
if ((int)role == InternalRole::PartialInputLength)
return (i64)suggestion.partial_input_length;