diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp index 6bb36d1c23c..04f11bcbb0b 100644 --- a/src/plugins/texteditor/texteditorplugin.cpp +++ b/src/plugins/texteditor/texteditorplugin.cpp @@ -95,11 +95,13 @@ void TextEditorPlugin::initialize() addTestCreator(createSnippetParserTest); #endif - setupTextEditorSettings(); setupBehaviorSettings(); setupExtraEncodingSettings(); setupStorageSettings(); setupTypingSettings(); + // Currently needed after the previous four lines. + // FIXME: This kind of dependency should not exist. + setupTextEditorSettings(); setupTextMarkRegistry(this); setupOutlineFactory();