Fix copy/paste typo in qdom.cpp leading to wrong errorColumn
Detected by KDReports unittests ;-) Pick-to: 6.5 Change-Id: I33ab4c16a0fa55d7feffccc807998213132676fb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 3d631da88bc08816b72493dbce785cabc56b70be) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d99e4ac02b
commit
043ba52306
@ -6177,7 +6177,7 @@ static inline void unpackParseResult(const QDomDocument::ParseResult &parseResul
|
|||||||
if (errorLine)
|
if (errorLine)
|
||||||
*errorLine = static_cast<int>(parseResult.errorLine);
|
*errorLine = static_cast<int>(parseResult.errorLine);
|
||||||
if (errorColumn)
|
if (errorColumn)
|
||||||
*errorColumn = static_cast<int>(parseResult.errorLine);
|
*errorColumn = static_cast<int>(parseResult.errorColumn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user