actually use pendingItems
svn path=/trunk/KDE/kdelibs/; revision=1177535
This commit is contained in:
parent
18a7527784
commit
a80f50cf4d
@ -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()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user