Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
qtbase/src/widgets/kernel/qlayoutitem.cpp
QSizePolicy::ControlTypes QLayoutItem::controlTypes() const { // ### Qt 5: This function should probably be virtual instead if (const QWidget *widget = const_cast<QLayoutItem*>(this)->widget()) { return widget->sizePolicy().controlType(); ... /* ### 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. */
These should be either actioned for Qt 5.0.0 (if source-compatibility can be maintained), removed, or changed to Qt 6 to-do's.
Attachments
Issue Links
- resulted from
-
QTBUG-23524 [API] Grep the source for Qt5 todo items
- Closed
For Gerrit Dashboard: QTBUG-25099 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
24692,1 | Remove old Qt4 to-do comment. | master | qt/qtbase | Status: MERGED | +2 | 0 |