diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-09-17 13:25:39 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-10-01 10:47:57 +0200 |
commit | f96246209dcfd10427a688fa7914b0d8224280c7 (patch) | |
tree | c7ef1d03c5f7bdbb83a2dddee00ebac36f0d700d /src/plugins/cppeditor/cppquickfixassistant.cpp | |
parent | 243a34c7ee11e15386c94f5ea8b9a8e090950d04 (diff) | |
download | qt-creator-f96246209dcfd10427a688fa7914b0d8224280c7.tar.gz |
TextEditor: Move isAsynchronous() up to IAssistProvider
...from CompletionAssistProvider, so other providers can be executed
asynchronously, too.
Change-Id: I6ec06f6d76bc2937bc272450b4e8dffd81ee868e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixassistant.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppquickfixassistant.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppquickfixassistant.cpp b/src/plugins/cppeditor/cppquickfixassistant.cpp index 2c6d7e3217..4ca8d0e0a6 100644 --- a/src/plugins/cppeditor/cppquickfixassistant.cpp +++ b/src/plugins/cppeditor/cppquickfixassistant.cpp @@ -46,6 +46,11 @@ using namespace CPlusPlus; // ------------------------- // CppQuickFixAssistProvider // ------------------------- +bool CppQuickFixAssistProvider::isAsynchronous() const +{ + return false; +} + bool CppQuickFixAssistProvider::supportsEditor(const Core::Id &editorId) const { return editorId == CppEditor::Constants::CPPEDITOR_ID; |