Skip to content

Commit

Permalink
Fix copy/paste typo in qdom.cpp leading to wrong errorColumn
Browse files Browse the repository at this point in the history
Detected by KDReports unittests ;-)

Pick-to: 6.5 6.6
Change-Id: I33ab4c16a0fa55d7feffccc807998213132676fb
Reviewed-by: Fabian Kosmale <[email protected]>
  • Loading branch information
dfaure-kdab committed Oct 2, 2023
1 parent f0f0a5c commit 3d631da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml/dom/qdom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 3d631da

Please sign in to comment.