Details
-
Suggestion
-
Resolution: Fixed
-
P4: Low
-
6.4.2
-
None
-
-
e8322a4cc (dev), d257a56c9 (dev), 27422d5f4 (6.5), 77b8b5668 (6.4), e04ab02b6 (tqtc/lts-6.2), 224930726 (dev)
-
Foundation Sprint 75
Description
Currently, only the functions beginPropertyUpdateGroup and endPropertyUpdateGroup exist. For functions with multiple exits, this is not ideal.
I suggest adding a RAII class that begins a property update group in its constructor, and ends it in its destructor.
Attachments
For Gerrit Dashboard: QTBUG-110710 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
458417,2 | Fix narrowing in Qt::endPropertyUpdateGroup() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
458418,2 | Use std::exchange in Qt::endPropertyUpdateGroup() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
458445,2 | Fix narrowing in Qt::endPropertyUpdateGroup() | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
458446,2 | Fix narrowing in Qt::endPropertyUpdateGroup() | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
458447,4 | Fix narrowing in Qt::endPropertyUpdateGroup() | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
458459,7 | Long live QScopedPropertyUpdateGroup | dev | qt/qtbase | Status: MERGED | +2 | 0 |