summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-16 06:14:25 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-16 06:14:25 (GMT)
commit6b0c2119fc87be3a512d312e8ddfd77d1aa3607b (patch)
tree1b622c78344569456bfc1c22e30450600d36766d /src/declarative/qml
parenta172096d8b3ef3b4acacda5e769d3713d8dab651 (diff)
parent5e907741f941703731116f73a07da8dfdc482d36 (diff)
downloadQt-6b0c2119fc87be3a512d312e8ddfd77d1aa3607b.zip
Qt-6b0c2119fc87be3a512d312e8ddfd77d1aa3607b.tar.gz
Qt-6b0c2119fc87be3a512d312e8ddfd77d1aa3607b.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlcompositetypemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompositetypemanager.cpp b/src/declarative/qml/qmlcompositetypemanager.cpp
index 7dbe788..fa68951 100644
--- a/src/declarative/qml/qmlcompositetypemanager.cpp
+++ b/src/declarative/qml/qmlcompositetypemanager.cpp
@@ -168,6 +168,7 @@ QmlCompositeTypeData *QmlCompositeTypeManager::get(const QUrl &url)
if (!unit) {
unit = new QmlCompositeTypeData;
unit->status = QmlCompositeTypeData::Waiting;
+ unit->progress = 0.0;
unit->imports.setBaseUrl(url);
components.insert(url.toString(), unit);
@@ -217,7 +218,6 @@ void QmlCompositeTypeManager::replyFinished()
Q_ASSERT(unit);
if (reply->error() != QNetworkReply::NoError) {
-
QString errorDescription;
// ### - Fill in error
errorDescription = QLatin1String("Network error for URL ") +