diff options
Diffstat (limited to 'akonadi2_cli/repl')
-rw-r--r-- | akonadi2_cli/repl/replStates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/akonadi2_cli/repl/replStates.cpp b/akonadi2_cli/repl/replStates.cpp index 0179779..ceb95ed 100644 --- a/akonadi2_cli/repl/replStates.cpp +++ b/akonadi2_cli/repl/replStates.cpp | |||
@@ -149,7 +149,7 @@ static char **akonadi2_cli_tab_completion(const char *text, int start, int end) | |||
149 | 149 | ||
150 | static char *akonadi2_cli_next_tab_complete_match(const char *text, int state) | 150 | static char *akonadi2_cli_next_tab_complete_match(const char *text, int state) |
151 | { | 151 | { |
152 | SyntaxTree::SyntaxList nearest = SyntaxTree::self()->nearestSyntax(tab_completion_full_state, QString(text)); | 152 | Syntax::List nearest = SyntaxTree::self()->nearestSyntax(tab_completion_full_state, QString(text)); |
153 | 153 | ||
154 | if (nearest.size() > state) { | 154 | if (nearest.size() > state) { |
155 | return qstrdup(nearest[state].keyword.toUtf8()); | 155 | return qstrdup(nearest[state].keyword.toUtf8()); |