reset the theme after a drop event

svn path=/trunk/KDE/kdelibs/; revision=1186446
This commit is contained in:
Marco Martin 2010-10-16 12:17:49 +00:00
parent 32e10a77d2
commit 0126b7f16f

View File

@ -411,6 +411,8 @@ void ExtenderItem::setExtender(Extender *extender, const QPointF &pos)
extenderItemGroup.deleteGroup(QString::number(d->extenderItemId));
}
d->themeChanged();
//we might have to enable or disable the returnToSource button.
d->updateToolBox();
@ -466,6 +468,8 @@ void ExtenderItem::setGroup(ExtenderGroup *group, const QPointF &pos)
}
config().deleteEntry("group");
}
d->dragStarted = false;
d->themeChanged();
}
ExtenderGroup *ExtenderItem::group() const