From 6827a0cc327547d4d99e4df251807c019926c4c7 Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Sun, 16 Dec 2007 18:31:33 +0000 Subject: [PATCH] For some reason the icon caching doesn't work here so let's just disable it for now. svn path=/trunk/KDE/kdebase/workspace/; revision=749165 --- effects/presentwindows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 181d2f976e..8c9d5a235c 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -1022,7 +1022,8 @@ void PresentWindowsEffect::paintWindowIcon( EffectWindow* w, WindowPaintData& pa } WindowData& data = mWindowData[ w ]; - if( data.icon.serialNumber() != w->icon().serialNumber()) + // TODO: find out why this doesn't work properly + // if( data.icon.cacheKey() != w->icon().cacheKey()) { // make sure data.icon is the right QPixmap, and rebind data.icon = w->icon(); #ifdef HAVE_OPENGL