diff options
Diffstat (limited to 'src/libs/utils/uncommentselection.cpp')
-rw-r--r-- | src/libs/utils/uncommentselection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/uncommentselection.cpp b/src/libs/utils/uncommentselection.cpp index 6771f3f4ea..185293c07a 100644 --- a/src/libs/utils/uncommentselection.cpp +++ b/src/libs/utils/uncommentselection.cpp @@ -209,7 +209,7 @@ void Utils::unCommentSelection(QPlainTextEdit *edit, const CommentDefinition &de } } else { const QString text = block.text(); - foreach (QChar c, text) { + for (QChar c : text) { if (!c.isSpace()) { if (definition.isAfterWhiteSpaces) cursor.setPosition(block.position() + text.indexOf(c)); |