summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-06-11 23:46:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-06-11 23:46:39 (GMT)
commit74c18979b927ba3dd82ed3f5ca362428c61c2675 (patch)
tree9d3588bf393535034b6af21d6ba9c7201bc22ac5 /src/declarative/qml/qmlcompiler.cpp
parentf10791eb1c45b090f60a2c2ecca3cc5fd237278e (diff)
downloadQt-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.cpp2
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());
}