diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-26 15:36:49 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-01-12 18:00:53 +0000 |
commit | 1c5dd75ee6ef233aeb9b72596effced77d2a748a (patch) | |
tree | 6674673cd0f27e66fb6558c9b670d29222cccd78 /src/qml/qml/qqmltypeloader.cpp | |
parent | 258638f3726f63b308b6275090b1dad596f4fb56 (diff) |
Remove debugChangesHash from QQmlEngine
Since the inspector doesn't use it anymore we can drop it.
Change-Id: I9c4ffc3988bcd9937a4a473d5de287c7a5eda13e
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmltypeloader.cpp')
-rw-r--r-- | src/qml/qml/qqmltypeloader.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/qml/qml/qqmltypeloader.cpp b/src/qml/qml/qqmltypeloader.cpp index 98c4341e06..10be80ed0c 100644 --- a/src/qml/qml/qqmltypeloader.cpp +++ b/src/qml/qml/qqmltypeloader.cpp @@ -1057,20 +1057,6 @@ void QQmlTypeLoader::loadThread(QQmlDataBlob *blob) } QML_MEMORY_SCOPE_URL(blob->m_url); - QQmlEnginePrivate *engine_d = QQmlEnginePrivate::get(m_engine); - QHash<QUrl, QByteArray> debugCache = engine_d->debugChangesCache(); - - if (!debugCache.isEmpty()) { - foreach (const QUrl &url, debugCache.keys()) { - if (blob->m_url == blob->m_url.resolved(url)) { - blob->m_data.setProgress(0xFF); - if (blob->m_data.isAsync()) - m_thread->callDownloadProgressChanged(blob, 1.); - setData(blob, debugCache.value(url, QByteArray())); - return; - } - } - } if (QQmlFile::isSynchronous(blob->m_url)) { QQmlFile file(m_engine, blob->m_url); |