From bb6d6bb9fef314566f0c2275097c7ae1556101dc Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Sun, 16 Dec 2007 19:40:00 +0000 Subject: [PATCH] s/serialNumber/cacheKey/ (serialNumber() is obsolete) svn path=/trunk/KDE/kdebase/workspace/; revision=749195 --- effects/boxswitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/boxswitch.cpp b/effects/boxswitch.cpp index 96c5462112..f79e9a58e7 100644 --- a/effects/boxswitch.cpp +++ b/effects/boxswitch.cpp @@ -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