Removed doubled call to setElementPrefix("normal")

svn path=/trunk/KDE/kdelibs/; revision=1106026
This commit is contained in:
Björn Ruberg 2010-03-21 17:46:28 +00:00
parent 3958e203be
commit b14a9ed2d8

View File

@ -166,7 +166,6 @@ PushButton::PushButton(QGraphicsWidget *parent)
d->hoverAnimation = Animator::create(Animator::PixmapTransitionAnimation); d->hoverAnimation = Animator::create(Animator::PixmapTransitionAnimation);
d->hoverAnimation->setTargetWidget(this); d->hoverAnimation->setTargetWidget(this);
d->background->setElementPrefix("normal");
d->hoverAnimation->setProperty("startPixmap", d->background->framePixmap()); d->hoverAnimation->setProperty("startPixmap", d->background->framePixmap());
KPushButton *native = new KPushButton; KPushButton *native = new KPushButton;