summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2016-02-03 11:24:55 +0100
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-02-05 13:28:54 +0000
commit5c10c5ff2469769125eb39a33351add9fcaf48ff (patch)
tree8e9d1022499e7ea2b1f9808c6a47f3361619c26b /src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp
parent3f760bad1f21e8af8d9899ec7f1260ef31e8d88f (diff)
downloadqt-creator-5c10c5ff2469769125eb39a33351add9fcaf48ff.tar.gz
Clang: Fix indention in ClangPreprocessorAssistProposalItem
Change-Id: Iffe01fe06d3fbed192e3f1875431337c49147800 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp')
-rw-r--r--src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.cpp2
1 files changed, 1 insertions, 1 deletions
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)