mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b187d42601
commit
2ef0b94051
1 changed files with 2 additions and 0 deletions
|
@ -727,6 +727,7 @@ void KIconEffect::overlay(QImage &src, QImage &overlay)
|
|||
return;
|
||||
}
|
||||
|
||||
#if QT_VERSION < 0x041200
|
||||
// Overlay at 8 bpp doesn't use alpha blending
|
||||
|
||||
if (src.depth() == 8)
|
||||
|
@ -774,6 +775,7 @@ void KIconEffect::overlay(QImage &src, QImage &overlay)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // QT_VERSION < 0x041200
|
||||
|
||||
// Overlay at 32 bpp does use alpha blending
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue