From 007aeb35fbaf4317d9d248447c4fa8cbbcc436b5 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 14 Jan 2011 16:33:32 +0000 Subject: [PATCH] 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 --- extenders/extender.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extenders/extender.cpp b/extenders/extender.cpp index 4e413502c..90da659c3 100644 --- a/extenders/extender.cpp +++ b/extenders/extender.cpp @@ -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()) {