if an extenderItem is moved before the delayoued insertin has been made, remove it from the pending queue

svn path=/trunk/KDE/kdelibs/; revision=1214453
This commit is contained in:
Marco Martin 2011-01-14 16:33:32 +00:00
parent c16bfacb7b
commit 007aeb35fb

View File

@ -677,6 +677,7 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos)
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
{
attachedExtenderItems.removeAll(item);
pendingItems.remove(item);
//collapse the popupapplet if the last item is removed.
if (attachedExtenderItems.isEmpty()) {