should not be needed anymore

svn path=/trunk/KDE/kdelibs/; revision=1112642
This commit is contained in:
Marco Martin 2010-04-08 18:44:24 +00:00
parent 2aa0b00d40
commit 5d28ad3e73

View File

@ -746,15 +746,11 @@ void ExtenderItemPrivate::updateToolBox()
if (closeIndex == -1 && destroyActionVisibility &&
closeAction && widget->action() == closeAction) {
closeIndex = index;
widget->setMinimumSize(widgetSize);
widget->setMaximumSize(widgetSize);
continue;
}
if (returnToSourceIndex == -1 && returnToSourceVisibility &&
returnToSourceAction && widget->action() == returnToSourceAction) {
widget->setMinimumSize(widgetSize);
widget->setMaximumSize(widgetSize);
returnToSourceIndex = index;
continue;
}