actually use pendingItems

svn path=/trunk/KDE/kdelibs/; revision=1177535
This commit is contained in:
Marco Martin 2010-09-20 13:34:12 +00:00
parent 18a7527784
commit a80f50cf4d

View File

@ -612,6 +612,7 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos)
QObject::connect(item, SIGNAL(destroyed(ExtenderItem*)), q, SLOT(extenderItemDestroyed(ExtenderItem*)));
attachedExtenderItems.append(item);
q->itemHoverLeaveEvent(item);
pendingItems.append(QPair<ExtenderItem *, QPointF>(item, pos));
QTimer::singleShot(0, q, SLOT(delayItemAddedEvent()));
}