diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-03-15 16:52:10 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-03-21 21:54:06 +0000 |
commit | 5ce2235f425b3c5047faf709c87c9b5c8e414b8b (patch) | |
tree | 5bd74cf139185d284a9379f095e31e0b8f1b6f36 /tests/auto/qml/debugger | |
parent | fc0254a48c775cdfea693402d0472b73c8b940e5 (diff) |
Avoid reading (not parsing) .qml files when using the cache
By making SourceCodeData copyable we can delay the reading of the source
file until we really need to. This also allows persisting the QFileInfo
object and therefore having only one stat() call to check if the file
exists, what its size is and what the last modification time is.
Change-Id: Ic7e4d5f566d870f3b1fa8302227417fa813cb139
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger')
0 files changed, 0 insertions, 0 deletions