diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2015-01-13 11:33:22 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-02-04 19:37:33 +0000 |
commit | 6c117ee4aa4974556c6d6ac3799277a4da67b112 (patch) | |
tree | edb8462a04d2ec6762b9a267d4dd142b312d5a58 /src/plugins | |
parent | 89edf43c44294888781c308d9b1f1d9bab63645b (diff) |
Correct QPainter's is_brush_transparent
1-bit QImage's should not be considered transparent unless they have use
transparent colors in the color table or have no color table. By using
hasAlphaChannel we also catch other transparent brush textures.
The method is only used in determining emulation specifiers.
Change-Id: I120ee1de4dc2df666c3e2acb1e40b53a8de40754
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions