forked from qt-creator/qt-creator
QmlJsEditor: Don't export Internal classes
Export two functions doing the actual work instead. Centralize some repeated code. Change-Id: I7de674ef7ae5537663d1227d36cc556c4ee3ed74 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -64,7 +64,7 @@ TextEditor::CodeStyleEditorWidget *QmlJSCodeStylePreferencesFactory::createEdito
|
||||
|
||||
TextEditor::Indenter *QmlJSCodeStylePreferencesFactory::createIndenter(QTextDocument *doc) const
|
||||
{
|
||||
return new QmlJSEditor::Internal::Indenter(doc);
|
||||
return QmlJSEditor::createQmlJsIndenter(doc);
|
||||
}
|
||||
|
||||
QString QmlJSCodeStylePreferencesFactory::snippetProviderGroupId() const
|
||||
|
||||
Reference in New Issue
Block a user