Same here: don't render null icons
svn path=/trunk/KDE/kdebase/workspace/; revision=688599
This commit is contained in:
parent
1ec2b1d228
commit
1552ad2c11
1 changed files with 6 additions and 0 deletions
|
@ -796,6 +796,12 @@ void PresentWindowsEffect::updateFilterTexture()
|
|||
|
||||
void PresentWindowsEffect::paintWindowIcon( EffectWindow* w, WindowPaintData& paintdata )
|
||||
{
|
||||
// Don't render null icons
|
||||
if( w->icon().isNull() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
WindowData& data = mWindowData[ w ];
|
||||
if( data.icon.serialNumber() != w->icon().serialNumber())
|
||||
{ // make sure data.icon is the right QPixmap, and rebind
|
||||
|
|
Loading…
Reference in a new issue