Pass QColor by value


It's a small, trivially copyable type.

Address header review comments.

Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: Ieb72d7d8f718fafa0e05bc27be3a2e7168a89aa7
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit281f81ecdedb16764c42ce6c565bfc5c0aca4e42
parentadb80916fc2d3a797d9d655835fec48ec504d18f
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 1 Sep 2026 12:15:42 +0000