diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-09 10:38:13 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-10 00:12:48 (GMT) |
commit | 932f667eaad727854f6bb48d797874455ed13231 (patch) | |
tree | 30fb3381e843400128a5f796184a17547b500068 /src/declarative/qml/qmlbinding.cpp | |
parent | 25bed69b3c643943dac195227d3f3fadc441516c (diff) | |
download | Qt-932f667eaad727854f6bb48d797874455ed13231.zip Qt-932f667eaad727854f6bb48d797874455ed13231.tar.gz Qt-932f667eaad727854f6bb48d797874455ed13231.tar.bz2 |
Support URL resolution from within script blocks
Diffstat (limited to 'src/declarative/qml/qmlbinding.cpp')
-rw-r--r-- | src/declarative/qml/qmlbinding.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/declarative/qml/qmlbinding.cpp b/src/declarative/qml/qmlbinding.cpp index 39851ff..f9c9561 100644 --- a/src/declarative/qml/qmlbinding.cpp +++ b/src/declarative/qml/qmlbinding.cpp @@ -126,10 +126,6 @@ void QmlBinding::update() value = con(value.toString()); } - if (d->property.propertyType() == QVariant::Url && - (value.type() == QVariant::String || value.type() == QVariant::ByteArray) && !value.isNull()) - value.setValue(context()->resolvedUrl(QUrl(value.toString()))); - if (d->property.propertyType() == QVariant::Vector3D && value.type() == QVariant::String) { value = qVariantFromValue(QmlStringConverters::vector3DFromString(value.toString())); |