From 0c3a0dd799a5ffefdececd31be8d9dc778223b4f Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 27 Apr 2012 19:47:33 +1000 Subject: [PATCH] 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 --- src/widgets/kernel/qlayoutitem.cpp | 4 +--- 1 file changed, 1 insertion(+), 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