diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-07 14:53:57 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-12 16:54:38 +0000 |
commit | b40d005544cf4b991b797b0058a23dc61e8de5c2 (patch) | |
tree | 9ab3cbda9f719ffa2e8f68ecc140738b8879cae6 /src/qml/compiler/qv4compilationunitmapper_p.h | |
parent | f5a05313757e234c35455b2e1d6fbba43bc9ace2 (diff) |
Enable disk cache for files coming from resources
By storing the cached data in QStandardPaths::CacheDir + "/qmlcache/"
+ sha1(filename)
Change-Id: I6a8b4ca701019204fff362504697c3dac9f54bf1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilationunitmapper_p.h')
-rw-r--r-- | src/qml/compiler/qv4compilationunitmapper_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compilationunitmapper_p.h b/src/qml/compiler/qv4compilationunitmapper_p.h index 69007f4618..5b6939f1cf 100644 --- a/src/qml/compiler/qv4compilationunitmapper_p.h +++ b/src/qml/compiler/qv4compilationunitmapper_p.h @@ -68,7 +68,7 @@ public: CompilationUnitMapper(); ~CompilationUnitMapper(); - CompiledData::Unit *open(const QString &sourcePath, QString *errorString); + CompiledData::Unit *open(const QString &cacheFilePath, const QString &sourcePath, QString *errorString); void close(); private: |