when an action is triggered really close the toolbox, don't just hide it

svn path=/trunk/KDE/kdelibs/; revision=1022109
This commit is contained in:
Marco Martin 2009-09-10 20:23:07 +00:00
parent 664a262df2
commit fb365bfbf1

View File

@ -309,7 +309,7 @@ void DesktopToolBox::toolTriggered(bool)
QAction *action = qobject_cast<QAction *>(sender());
if (!action || !action->autoRepeat()) {
hideToolBox();
emit toggled();
}
}