Commit 96905481 authored by Konstantin Ritt's avatar Konstantin Ritt Committed by The Qt Project
Browse files

QFont: Don't invalidate engine unless request has been changed


This makes QFont do a "light" detach when the font attributes data has been changed.
The new test clearly shows that the engine is now shared between
two font instances after changing the kerning attribute.

Change-Id: I59db822f459f02d111686dba7101b98e361fada9
Reviewed-by: default avatarMarc Mutz <marc.mutz@kdab.com>
Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
parent bdc115d9
No related merge requests found
Showing with 73 additions and 7 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment