diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-28 20:20:16 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-28 20:20:16 +0100 |
commit | 7e48662cf11b5be7d062b082a9a1970419921a08 (patch) | |
tree | 26687262453b15285e963a06cb414faf30ef5f4e /akonadish/syntax_modules/core_syntax.cpp | |
parent | 949609b3f19b8a8823a7c62f23617eef05b796dd (diff) | |
download | sink-7e48662cf11b5be7d062b082a9a1970419921a08.tar.gz sink-7e48662cf11b5be7d062b082a9a1970419921a08.zip |
pass the state object into the completer
allows completion to use an eventloop e.g.
Diffstat (limited to 'akonadish/syntax_modules/core_syntax.cpp')
-rw-r--r-- | akonadish/syntax_modules/core_syntax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/akonadish/syntax_modules/core_syntax.cpp b/akonadish/syntax_modules/core_syntax.cpp index 31b824a..b4812df 100644 --- a/akonadish/syntax_modules/core_syntax.cpp +++ b/akonadish/syntax_modules/core_syntax.cpp | |||
@@ -76,7 +76,7 @@ bool showHelp(const QStringList &commands, State &state) | |||
76 | return true; | 76 | return true; |
77 | } | 77 | } |
78 | 78 | ||
79 | QStringList showHelpCompleter(const QStringList &commands, const QString &fragment) | 79 | QStringList showHelpCompleter(const QStringList &commands, const QString &fragment, State &) |
80 | { | 80 | { |
81 | QStringList items; | 81 | QStringList items; |
82 | 82 | ||