Pass QPointF by value
It's a small, trivially copyable type. The compiler can optimize better
if it doesn't has to generate code in order to be able to form a
reference to an object.
Only implementation details, no impact on public API.
Pick-to: 6.12
Change-Id: I73c50a477f79ffb3f1409574e8755d76a2f3d5a4
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | efbf6b7bfcbba5f1403523077a03360a6935f166 |
| parent | 281f81ecdedb16764c42ce6c565bfc5c0aca4e42 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Tue, 1 Sep 2026 12:15:45 +0000 |