forked from qt-creator/qt-creator
		
	Fix some code scanning issues.
foreach()-Loops.
This commit is contained in:
		| @@ -4689,7 +4689,7 @@ void BaseTextEditor::_q_matchParentheses() | ||||
|  | ||||
|  | ||||
|     if (animatePosition >= 0) { | ||||
|         foreach (QTextEdit::ExtraSelection sel, BaseTextEditor::extraSelections(ParenthesesMatchingSelection)) { | ||||
|         foreach (const QTextEdit::ExtraSelection &sel, BaseTextEditor::extraSelections(ParenthesesMatchingSelection)) { | ||||
|             if (sel.cursor.selectionStart() == animatePosition | ||||
|                 || sel.cursor.selectionEnd() - 1 == animatePosition) { | ||||
|                 animatePosition = -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user