TextEditor: Move CompletionAssistProvider to *Widget

All the others live there, too.

Change-Id: I0a418bf235343d40a53fbee089234765386ee05d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-09-03 10:57:51 +02:00
parent 877bf3b305
commit e3bc7d19cf
10 changed files with 46 additions and 37 deletions

View File

@@ -136,6 +136,7 @@ private:
GlslEditorWidget::GlslEditorWidget()
{
setCompletionAssistProvider(ExtensionSystem::PluginManager::getObject<GlslCompletionAssistProvider>());
setAutoCompleter(new GlslCompleter);
m_outlineCombo = 0;
setParenthesesMatchingEnabled(true);
@@ -335,7 +336,6 @@ public:
GlslEditor()
{
setDuplicateSupported(true);
setCompletionAssistProvider(ExtensionSystem::PluginManager::getObject<GlslCompletionAssistProvider>());
}
bool open(QString *errorString, const QString &fileName, const QString &realFileName)