avoid tons of warnings for empty sizes

svn path=/trunk/KDE/kdelibs/; revision=907537
This commit is contained in:
Stephan Kulow 2009-01-08 11:28:58 +00:00
parent 6e8e615e73
commit 744f3ef721

View File

@ -1049,7 +1049,8 @@ void ExtenderItemPrivate::themeChanged()
//setCollapsed recalculates size hints.
q->setCollapsed(q->isCollapsed());
resizeContent(q->size());
if (!q->size().isEmpty())
resizeContent(q->size());
}
void ExtenderItemPrivate::sourceAppletRemoved()