summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/AutocompleteProvider.cpp4
-rw-r--r--Userland/Libraries/LibGUI/AutocompleteProvider.h8
2 files changed, 0 insertions, 12 deletions
diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.cpp b/Userland/Libraries/LibGUI/AutocompleteProvider.cpp
index 08b7538716..a6f73bde04 100644
--- a/Userland/Libraries/LibGUI/AutocompleteProvider.cpp
+++ b/Userland/Libraries/LibGUI/AutocompleteProvider.cpp
@@ -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;
diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.h b/Userland/Libraries/LibGUI/AutocompleteProvider.h
index 109ec94060..832989b37e 100644
--- a/Userland/Libraries/LibGUI/AutocompleteProvider.h
+++ b/Userland/Libraries/LibGUI/AutocompleteProvider.h
@@ -20,13 +20,6 @@ class AutocompleteProvider {
public:
virtual ~AutocompleteProvider() { }
- enum class CompletionKind {
- Identifier,
- PreprocessorDefinition,
- SystemInclude,
- ProjectInclude,
- };
-
enum class Language {
Unspecified,
Cpp,
@@ -35,7 +28,6 @@ public:
struct Entry {
String completion;
size_t partial_input_length { 0 };
- CompletionKind kind { CompletionKind::Identifier };
Language language { Language::Unspecified };
String display_text {};
};