diff options
Diffstat (limited to 'akonadi2_cli/syntaxtree.cpp')
-rw-r--r-- | akonadi2_cli/syntaxtree.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/akonadi2_cli/syntaxtree.cpp b/akonadi2_cli/syntaxtree.cpp index e87b291..5dd4c54 100644 --- a/akonadi2_cli/syntaxtree.cpp +++ b/akonadi2_cli/syntaxtree.cpp | |||
@@ -25,6 +25,7 @@ | |||
25 | // TODO: needs a proper registry; making "core" modules plugins is | 25 | // TODO: needs a proper registry; making "core" modules plugins is |
26 | // almost certainly overkill, but this is not the way either | 26 | // almost certainly overkill, but this is not the way either |
27 | #include "syntax_modules/core_syntax.h" | 27 | #include "syntax_modules/core_syntax.h" |
28 | #include "syntax_modules/akonadi_list.h" | ||
28 | 29 | ||
29 | SyntaxTree *SyntaxTree::s_module = 0; | 30 | SyntaxTree *SyntaxTree::s_module = 0; |
30 | 31 | ||
@@ -43,7 +44,9 @@ SyntaxTree::Syntax::Syntax(const QString &k, const QString &helpText, std::funct | |||
43 | SyntaxTree::SyntaxTree() | 44 | SyntaxTree::SyntaxTree() |
44 | { | 45 | { |
45 | QVector<std::function<SyntaxList()> > syntaxSyntaxTrees; | 46 | QVector<std::function<SyntaxList()> > syntaxSyntaxTrees; |
46 | syntaxSyntaxTrees << &CoreSyntax::syntax; | 47 | syntaxSyntaxTrees << &CoreSyntax::syntax |
48 | << &AkonadiList::syntax | ||
49 | ; | ||
47 | for (auto syntaxSyntaxTree: syntaxSyntaxTrees) { | 50 | for (auto syntaxSyntaxTree: syntaxSyntaxTrees) { |
48 | m_syntax += syntaxSyntaxTree(); | 51 | m_syntax += syntaxSyntaxTree(); |
49 | } | 52 | } |