587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
26 lines
1,003 B
Diff
26 lines
1,003 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Nick Cao <nickcao@nichi.co>
|
|
Date: Tue, 10 Oct 2023 11:12:27 -0400
|
|
Subject: [PATCH] qtdeclarative: disable qml disk cache
|
|
|
|
---
|
|
src/qml/jsruntime/qv4engine.cpp | 6 +-----
|
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
|
|
index 506b920142..3cadb4fe06 100644
|
|
--- a/src/qml/jsruntime/qv4engine.cpp
|
|
+++ b/src/qml/jsruntime/qv4engine.cpp
|
|
@@ -2202,11 +2202,7 @@ ExecutionEngine::DiskCacheOptions ExecutionEngine::diskCacheOptions() const
|
|
{
|
|
if (forceDiskCache())
|
|
return DiskCache::Enabled;
|
|
- if (disableDiskCache() || debugger())
|
|
- return DiskCache::Disabled;
|
|
- static const DiskCacheOptions options = qmlGetConfigOption<
|
|
- DiskCacheOptions, transFormDiskCache>("QML_DISK_CACHE");
|
|
- return options;
|
|
+ return DiskCache::Disabled;
|
|
}
|
|
|
|
void ExecutionEngine::callInContext(QV4::Function *function, QObject *self,
|