Commit 4eed4830 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

TextEditor: Avoid unneeded indirection



Change-Id: I1ca7b390f13a4cc99d2e642a77f3e8e11bb37bd1
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 29d20a9f
......@@ -2909,7 +2909,7 @@ void TextEditorWidgetPrivate::setupDocumentSignals()
q->setDisplaySettings(settings->displaySettings());
q->setCompletionSettings(settings->completionSettings());
q->setExtraEncodingSettings(settings->extraEncodingSettings());
q->setCodeStyle(settings->codeStyle(q->languageSettingsId()));
q->setCodeStyle(settings->codeStyle(m_tabSettingsId));
}
bool TextEditorWidgetPrivate::snippetCheckCursor(const QTextCursor &cursor)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment