diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-12-18 17:23:50 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-05 22:30:19 +0100 |
commit | aa542be4e005b1feedc2e17fd6ca2387bf2fea1b (patch) | |
tree | 468f6de2ccaf34d932263862e8ec5aa7489c93d2 /src/widgets/widgets | |
parent | 1f87fb359fdff14e42662384a9c8a0bcb3837671 (diff) |
Modernize setAlphaChannel(), and deprecated alphaChannel()
The two methods have been marked obsolete for a very long time,
setAlphaChannel() is still convenient though, so this patch
modernizes it and removes obsolete from the API, while marking
QImage::alphaChannel() as deprecated. They don't work as getter
and setter anyway, since setAlphaChannel() actually does an
alpha composition.
Change-Id: I634d6463f78c42bb9c5fa3df17500ec01bfcac33
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/widgets/widgets')
0 files changed, 0 insertions, 0 deletions