Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
5.3.2
-
Windows
-
ce7447d88ce5f410ae01b0f5697a86b3ba7c47f2 (qt/qtbase/5.15)
Description
QWidgetItem::widget must be const, bacause it's not modify QWidgetItem object, or you must add const version of this method
I write some function like fooCheck(QWidgetItem const* wi1, QWidgetItem const* wi2) - I can't get wi1->widget() - it's very uncomfortable.
Attachments
For Gerrit Dashboard: QTBUG-41997 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
274751,2 | QLayoutItem: make QLayoutItem::widget() const in Qt6 | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |