aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypeloader_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-08-03 15:46:38 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-05 07:15:19 +0000
commitfe663bf863ffd6085c3022db7e9a923688befeb6 (patch)
tree02f11fc41a914b275fea72601fe5348a1e5493fe /src/qml/qml/qqmltypeloader_p.h
parent234e762265f0b538e65d610751b8488cb596824d (diff)
Disable disk caching when debugging JavaScript
The debugging changes the code generation and is currently not suitable for caching. Change-Id: I40db58a5f24457cf3383d08a1de3a4168874056f Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypeloader_p.h')
-rw-r--r--src/qml/qml/qqmltypeloader_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h
index cfbaa2e92b..5c779e450d 100644
--- a/src/qml/qml/qqmltypeloader_p.h
+++ b/src/qml/qml/qqmltypeloader_p.h
@@ -248,6 +248,8 @@ public:
protected:
virtual QString stringAt(int) const { return QString(); }
+ bool isDebugging() const;
+
QQmlImports m_importCache;
QHash<const QV4::CompiledData::Import*, int> m_unresolvedImports;
QList<QQmlQmldirData *> m_qmldirs;