From df0e5f74a0fcf0cf11d269d1c7bd54074a177fa8 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 7 Jun 2007 19:10:48 +0000 Subject: [PATCH] * build * only blur on hover to mask some of the artifacts svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672649 --- widgets/icon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/icon.cpp b/widgets/icon.cpp index 748142b0c..a3be98278 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -28,7 +28,7 @@ #include #include "svg.h" -#include "blur.cpp" +#include "effects/blur.cpp" namespace Plasma { @@ -125,7 +125,7 @@ void Icon::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWid // QRectF rect = boundingRect(); - if (d->state != Private::PressedState && scene()) { + if (d->state == Private::HoverState && scene()) { QList views = scene()->views(); if (views.count() > 0) { QPixmap* pix = static_cast(views[0]->windowSurface()->paintDevice());