diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-06-11 23:46:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-06-11 23:46:39 (GMT) |
commit | 74c18979b927ba3dd82ed3f5ca362428c61c2675 (patch) | |
tree | 9d3588bf393535034b6af21d6ba9c7201bc22ac5 /src/declarative/qml/qmlcompiler.cpp | |
parent | f10791eb1c45b090f60a2c2ecca3cc5fd237278e (diff) | |
download | Qt-74c18979b927ba3dd82ed3f5ca362428c61c2675.zip Qt-74c18979b927ba3dd82ed3f5ca362428c61c2675.tar.gz Qt-74c18979b927ba3dd82ed3f5ca362428c61c2675.tar.bz2 |
More explicit QUrl <-> QString conversion.
Diffstat (limited to 'src/declarative/qml/qmlcompiler.cpp')
-rw-r--r-- | src/declarative/qml/qmlcompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 3123254..41cbc19 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -281,7 +281,7 @@ bool QmlCompiler::compileStoreInstruction(QmlInstruction &instr, case QVariant::Url: { instr.type = QmlInstruction::StoreUrl; - QUrl u = output->url.resolved(string); + QUrl u = output->url.resolved(QUrl(string)); instr.storeUrl.propertyIndex = prop.propertyIndex(); instr.storeUrl.value = output->indexForString(u.toString()); } |