forked from qt-creator/qt-creator
Utils: Drop Utils::SkipEmptyParts again
We require Qt 5.14 nowadays. Change-Id: Iff245257d3cb19207007c0445ee13814e66152dd Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -85,7 +85,7 @@ void QmlJsTodoItemsScanner::processDocument(QmlJS::Document::Ptr doc)
|
||||
|
||||
// Process every line
|
||||
// TODO: Do not create QStringList, just iterate through a string tracking line endings.
|
||||
QStringList commentLines = source.split('\n', Utils::SkipEmptyParts);
|
||||
QStringList commentLines = source.split('\n', Qt::SkipEmptyParts);
|
||||
quint32 startLine = sourceLocation.startLine;
|
||||
for (int j = 0; j < commentLines.count(); ++j) {
|
||||
const QString &commentLine = commentLines.at(j);
|
||||
|
||||
Reference in New Issue
Block a user