forked from qt-creator/qt-creator
ModelEditor: Fix endless loop in config-file parser
Change-Id: Ia903974b97c81807a3296e6afd18173655867047 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -171,6 +171,7 @@ void TextScanner::skipWhitespaces()
|
||||
} else {
|
||||
unreadChar(secondSourceChar);
|
||||
unreadChar(sourceChar);
|
||||
break;
|
||||
}
|
||||
} else if (sourceChar.ch == QChar::LineFeed
|
||||
|| sourceChar.ch == QChar::CarriageReturn
|
||||
|
||||
Reference in New Issue
Block a user