Remove old Qt4 to-do comment.

Addressing the comment would likely break existing applications, so
leave things as they are for now.

Task-number: QTBUG-25099
Change-Id: I7dfd0e1ae121dcae57c2babc3373c2e5d16ad44b
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Jason McDonald 2012-04-27 19:47:33 +10:00 committed by Qt by Nokia
parent 08cc6901f8
commit 0c3a0dd799

View File

@ -564,10 +564,8 @@ Qt::Orientations QWidgetItem::expandingDirections() const
Qt::Orientations e = wid->sizePolicy().expandingDirections();
/*
### Qt 4.0:
If the layout is expanding, we make the widget expanding, even if
its own size policy isn't expanding. This behavior should be
reconsidered.
its own size policy isn't expanding.
*/
if (wid->layout()) {
if (wid->sizePolicy().horizontalPolicy() & QSizePolicy::GrowFlag