From 5c10c5ff2469769125eb39a33351add9fcaf48ff Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 3 Feb 2016 11:24:55 +0100 Subject: Clang: Fix indention in ClangPreprocessorAssistProposalItem Change-Id: Iffe01fe06d3fbed192e3f1875431337c49147800 Reviewed-by: Nikolai Kosjar --- src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp') diff --git a/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp b/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp index 64157f3820..0c860addd2 100644 --- a/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp +++ b/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp @@ -103,7 +103,7 @@ void ClangPreprocessorAssistProposalItem::apply(TextEditor::TextDocumentManipula const bool isReplaced = manipulator.replace(basePosition, length, textToBeInserted); if (isReplaced && cursorOffset) - manipulator.setCursorPosition(manipulator.currentPosition() + cursorOffset); + manipulator.setCursorPosition(manipulator.currentPosition() + cursorOffset); } void ClangPreprocessorAssistProposalItem::setText(const QString &text) -- cgit v1.2.1