diff --git a/frame/item/components/appswingeffectbuilder.h b/frame/item/components/appswingeffectbuilder.h index 0f4696468..2fb0f2bcb 100644 --- a/frame/item/components/appswingeffectbuilder.h +++ b/frame/item/components/appswingeffectbuilder.h @@ -71,6 +71,9 @@ static QPair SwingEffect( QWidget *parent, const QPixmap &icon, const QRect & rect, const qreal devicePixelRatio) { QGraphicsView *swingEffectView = new QGraphicsView(parent); + swingEffectView->viewport()->setAutoFillBackground(false); + swingEffectView->setFrameShape(QFrame::NoFrame); + QGraphicsScene *itemScene = new QGraphicsScene(parent); QGraphicsItemAnimation *itemAnimation = new QGraphicsItemAnimation(parent);