diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-16 06:09:58 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-16 06:09:58 (GMT) |
commit | f620b2d3b2994c2a4749e0040aaf5f23eadad889 (patch) | |
tree | c5511278277047b7d01f237f4619021f416733de /src/declarative | |
parent | ee6c7d5cdc7707a5eb50a46ba8056a6b43348159 (diff) | |
download | Qt-f620b2d3b2994c2a4749e0040aaf5f23eadad889.zip Qt-f620b2d3b2994c2a4749e0040aaf5f23eadad889.tar.gz Qt-f620b2d3b2994c2a4749e0040aaf5f23eadad889.tar.bz2 |
Loader network tests
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qmlcompositetypemanager.cpp | 2 |
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 ") + |