summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qlayoutitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qlayoutitem.cpp')
-rw-r--r--src/widgets/kernel/qlayoutitem.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/kernel/qlayoutitem.cpp b/src/widgets/kernel/qlayoutitem.cpp
index 8e08f5f39f..6cf3e1fe42 100644
--- a/src/widgets/kernel/qlayoutitem.cpp
+++ b/src/widgets/kernel/qlayoutitem.cpp
@@ -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