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:
David Faure 2023-10-02 16:36:56 +02:00 committed by Qt Cherry-pick Bot
parent d99e4ac02b
commit 043ba52306

View File

@ -6177,7 +6177,7 @@ static inline void unpackParseResult(const QDomDocument::ParseResult &parseResul
if (errorLine)
*errorLine = static_cast<int>(parseResult.errorLine);
if (errorColumn)
*errorColumn = static_cast<int>(parseResult.errorLine);
*errorColumn = static_cast<int>(parseResult.errorColumn);
}
}