Skip to content

Commit

Permalink
Fusion style: cleanup drawControl()
Browse files Browse the repository at this point in the history
Cleanup drawControl():
 - don't create a copy of option->rect if not needed
 - don't calc unneeded variables on every call
 - don't calc colors twice

Task-number: QTBUG-129680
Change-Id: I4ad5c9c4dde42d9ca16ac38ad48b56b3844e0eb0
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
  • Loading branch information
chehrlic committed Nov 3, 2024
1 parent 799a515 commit 91d16c8
Showing 1 changed file with 60 additions and 56 deletions.
Loading

0 comments on commit 91d16c8

Please sign in to comment.