summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-04-27 19:47:33 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-27 22:52:01 +0200
commit0c3a0dd799a5ffefdececd31be8d9dc778223b4f (patch)
tree4b637aee5786d1e7e627808e33d87423a4ed0e4d
parent08cc6901f84ed8fbf3d6b95ef90fff77a9fe81b5 (diff)
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>
-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