diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-09-27 14:53:36 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2015-09-29 10:33:47 +0000 |
commit | c3772f478cf9c24174b8453c518424425c07a38e (patch) | |
tree | e3076c9fa3e4c61e35ad5501108badc64964239f | |
parent | e054c7d7db0e6784e46f60d252a6143a62354ea0 (diff) | |
download | qt-creator-c3772f478cf9c24174b8453c518424425c07a38e.tar.gz |
Cmake: Fix MSVC warning
cmakeautocompleter.cpp:113: warning: C4129: '(' : unrecognized character escape sequence
Change-Id: I4dccf3a0690a9c755c1e4672bfa669deaf893be2
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeautocompleter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeautocompleter.cpp b/src/plugins/cmakeprojectmanager/cmakeautocompleter.cpp index c74befd95b..4cd5eb952c 100644 --- a/src/plugins/cmakeprojectmanager/cmakeautocompleter.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeautocompleter.cpp @@ -110,7 +110,7 @@ QString CMakeAutoCompleter::insertMatchingBrace(const QTextCursor &cursor, const int CMakeAutoCompleter::paragraphSeparatorAboutToBeInserted(QTextCursor &cursor, const TextEditor::TabSettings &tabSettings) { const QString line = cursor.block().text().trimmed(); - if (line.contains(QRegExp(QStringLiteral("^(endfunction|endmacro|endif|endforeach|endwhile)\\w*\(")))) + if (line.contains(QRegExp(QStringLiteral("^(endfunction|endmacro|endif|endforeach|endwhile)\\w*\\(")))) tabSettings.indentLine(cursor.block(), tabSettings.indentationColumn(cursor.block().text())); return 0; } |