forked from qt-creator/qt-creator
QmlJS: Cleanup whitespace
Change-Id: Ifd6ec2a2aa33e1adca5afa8f41c4b4619ed017b5 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d97c578eb3
commit
7f924976e0
@@ -125,7 +125,7 @@ QmlError &QmlError::operator=(const QmlError &other)
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
\internal
|
||||
*/
|
||||
QmlError::~QmlError()
|
||||
{
|
||||
@@ -289,9 +289,9 @@ QDebug operator<<(QDebug debug, const QmlError &error)
|
||||
const QString &line = lines.at(error.line() - 1);
|
||||
debug << "\n " << qPrintable(line);
|
||||
|
||||
if(error.column() > 0) {
|
||||
if (error.column() > 0) {
|
||||
int column = qMax(0, error.column() - 1);
|
||||
column = qMin(column, line.length());
|
||||
column = qMin(column, line.length());
|
||||
|
||||
QByteArray ind;
|
||||
ind.reserve(column);
|
||||
|
||||
Reference in New Issue
Block a user