Skip to content
Snippets Groups Projects
Commit ac70c168 authored by Lorenz Haas's avatar Lorenz Haas Committed by Eike Ziller
Browse files

Optimize usage of QPalette


setPalette() does not replace the old one but rather adds the
difference. Thus a previous copy of the palette is unnecessary.

Change-Id: I5c06da456b76144efc4a984ccda13c7d2243a7bc
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent a142270d
No related branches found
No related tags found
No related merge requests found
Showing
with 17 additions and 20 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment