diff --git a/src/plugins/cmakeprojectmanager/cmakehighlighter.cpp b/src/plugins/cmakeprojectmanager/cmakehighlighter.cpp index a45e1deef1b..d6bb7c46f22 100644 --- a/src/plugins/cmakeprojectmanager/cmakehighlighter.cpp +++ b/src/plugins/cmakeprojectmanager/cmakehighlighter.cpp @@ -106,7 +106,6 @@ void CMakeHighlighter::highlightBlock(const QString &text) buf += c; i++; if (i < text.length()) { - text.at(i); setFormat(i, 1, emptyFormat); buf += c; }