hide and unhide the icon when its action visibility changes (no more

ghost lockers with zoomed out desktop:)

svn path=/trunk/KDE/kdelibs/; revision=892159
This commit is contained in:
Marco Martin 2008-12-03 17:53:13 +00:00
parent b2d528c0d3
commit 1c4f777dd4

View File

@ -1209,6 +1209,7 @@ void IconWidgetPrivate::syncToAction()
q->setIcon(action->icon());
q->setText(action->iconText());
q->setEnabled(action->isEnabled());
q->setVisible(action->isVisible());
//TODO use action's tooltip too
emit q->changed();