This website requires JavaScript.
Explore
Help
Sign In
qiurui
/
qtdeclarative
mirror of
https://github.com/qt/qtdeclarative.git
Watch
1
Star
0
Fork
You've already forked qtdeclarative
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a55299615f
qtdeclarative
/
tests
/
auto
/
qml
/
qmlcppcodegen
/
data
/
fromBoolValue.qml
8 lines
105 B
QML
Raw
Normal View
History
Unescape
Escape
QmlCompiler: Allow primitive conversion from any number to bool Task-number: QTBUG-102281 Change-Id: I0dac4ce9c86c55e52283a6e05b0c3c0cc46551be Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-04-04 14:54:32 +00:00
pragma
Strict
import
QtQuick
6
Item
{
property
bool
a:
!
x
QmlCompiler: Fix string-to-bool conversion via QJSPrimitiveValue We had a typo in there. Pick-to: 6.2 6.3 Fixes: QTBUG-102309 Change-Id: I11eb9d35fde3b92d2e48e845740379e10c53774a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-04-05 09:39:20 +00:00
width:
!
(
parent
&&
state
)
?
100
:
0
QmlCompiler: Allow primitive conversion from any number to bool Task-number: QTBUG-102281 Change-Id: I0dac4ce9c86c55e52283a6e05b0c3c0cc46551be Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-04-04 14:54:32 +00:00
}