do not do the appear animation when dropping an extender item
svn path=/trunk/KDE/kdelibs/; revision=1181208
This commit is contained in:
parent
25d9f45583
commit
37c3cf4d1c
|
@ -1262,7 +1262,14 @@ void ContainmentPrivate::dropData(QPointF scenePos, QPoint screenPos, QGraphicsS
|
|||
applet->setPos(geometry.topLeft() - QPointF(int(left), int(top)));
|
||||
applet->show();
|
||||
} else {
|
||||
applet = q->addApplet("internal:extender", QVariantList(), geometry);
|
||||
applet = addApplet("internal:extender", QVariantList(), geometry, 0, true);
|
||||
applet->hide();
|
||||
applet->init();
|
||||
appletAppeared(applet);
|
||||
applet->flushPendingConstraintsEvents();
|
||||
applet->d->scheduleModificationNotification();
|
||||
applet->adjustSize();
|
||||
applet->show();
|
||||
}
|
||||
item->setExtender(applet->extender());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user