Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
Description
I would expect this to show "NO" and "NO". It shows "YES" and "NO".
import Qt 4.7 Column { Text { property variant prop : false text: prop ? "YES" : "NO" } Text { property bool prop : false text: prop ? "YES" : "NO" } }
Once assigned to in script, the variant will properly hold a bool value.
Attachments
Issue Links
- resulted from
-
QTBUG-9243 Data binding to property var storing bool != data binding to plain property bool
- Closed