Commit c3772f47 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Cmake: Fix MSVC warning

cmakeautocompleter.cpp:113: warning: C4129: '(' : unrecognized character escape sequence

Change-Id: I4dccf3a0690a9c755c1e4672bfa669deaf893be2
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent e054c7d7
......@@ -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;
}
......
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