diff options
author | hjk <hjk121@nokiamail.com> | 2014-10-01 22:39:47 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-10-06 22:32:48 +0200 |
commit | 1f65111e55b3e487289ff7a0dfbd4313c383d77f (patch) | |
tree | c68d02e06a8c95ee85ec267b409eccc0d6797dbe /src/plugins/android/androidplugin.cpp | |
parent | 5bb8134ec135eae72d738220d2acd037d00cafbf (diff) |
TextEditor: Move CompletionAssistProvider construction
... to the editor factories and pass it to the document, not the widget.
Saves some code, puts fewer objects into the object pool.
Change-Id: Iaaf250af74dc4e0c62700873accbb40ba88b7d9e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index d75be38fe0e..d3c5108faa0 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -79,7 +79,6 @@ bool AndroidPlugin::initialize(const QStringList &arguments, QString *errorMessa addAutoReleasedObject(new Internal::AndroidDeviceFactory); addAutoReleasedObject(new Internal::AndroidPotentialKit); addAutoReleasedObject(new Internal::JavaEditorFactory); - addAutoReleasedObject(new Internal::JavaCompletionAssistProvider); ProjectExplorer::KitManager::registerKitInformation(new Internal::AndroidGdbServerKitInformation); // AndroidManifest.xml editor |