s/serialNumber/cacheKey/ (serialNumber() is obsolete)

svn path=/trunk/KDE/kdebase/workspace/; revision=749195
This commit is contained in:
Rivo Laks 2007-12-16 19:40:00 +00:00
parent 6827a0cc32
commit bb6d6bb9fe

View file

@ -565,7 +565,7 @@ void BoxSwitchEffect::paintWindowIcon( EffectWindow* w )
return;
}
if( windows[ w ]->icon.serialNumber() != w->icon().serialNumber())
if( windows[ w ]->icon.cacheKey() != w->icon().cacheKey())
{ // make sure windows[ w ]->icon is the right QPixmap, and rebind
windows[ w ]->icon = w->icon();
#ifdef HAVE_OPENGL