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:
parent
f699dbdc3f
commit
f7f9d09e72
4 changed files with 11 additions and 23 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue