* build
* only blur on hover to mask some of the artifacts svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672649
This commit is contained in:
parent
6193f93785
commit
df0e5f74a0
@ -28,7 +28,7 @@
|
||||
#include <KDebug>
|
||||
|
||||
#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<QGraphicsView*> views = scene()->views();
|
||||
if (views.count() > 0) {
|
||||
QPixmap* pix = static_cast<QPixmap*>(views[0]->windowSurface()->paintDevice());
|
||||
|
Loading…
Reference in New Issue
Block a user