Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2, 6.5, 6.6, dev
-
None
-
3
-
3bdac6109 (dev)
-
Foundations Sprint 94
Description
It was overlooked when initially introducing the bindable property support.
The property has type StopBits, so that should also be the return type of the bindableStopBits method.
Currently bool is returned, which compiles and somehow works due to implicit conversions.
The method is a part of the public API, so we can only get rid of it using QT_REMOVED_SINCE.
The idea is that we should introduce a new method bindableStopBitsFixed, and use it in the Q_PROPERTY() macro. Not sure if we can pick such change to older branches, though...
Attachments
Issue Links
- resulted from
-
QTBUG-116544 [Other] Fix all binding loops caused by misuse of bindable properties
- Closed
For Gerrit Dashboard: QTBUG-117887 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
514293,3 | Fix QSerialPort::bindableStopBits return value type | dev | qt/qtserialport | Status: MERGED | +2 | 0 |