summaryrefslogtreecommitdiffstats
path: root/akonadi2_cli/repl/replStates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akonadi2_cli/repl/replStates.cpp')
-rw-r--r--akonadi2_cli/repl/replStates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/akonadi2_cli/repl/replStates.cpp b/akonadi2_cli/repl/replStates.cpp
index 0273aa2..0179779 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
150static char *akonadi2_cli_next_tab_complete_match(const char *text, int state) 150static char *akonadi2_cli_next_tab_complete_match(const char *text, int state)
151{ 151{
152 QVector<SyntaxTree::Syntax> nearest = SyntaxTree::self()->nearestSyntax(tab_completion_full_state, QString(text)); 152 SyntaxTree::SyntaxList 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());