2024-04-21 15:54:59 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2023-10-19 13:55:26 +00:00
|
|
|
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(-)
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
|
2024-04-21 15:54:59 +00:00
|
|
|
index 506b920142..3cadb4fe06 100644
|
2022-11-21 17:40:18 +00:00
|
|
|
--- a/src/qml/jsruntime/qv4engine.cpp
|
|
|
|
+++ b/src/qml/jsruntime/qv4engine.cpp
|
2024-04-21 15:54:59 +00:00
|
|
|
@@ -2202,11 +2202,7 @@ ExecutionEngine::DiskCacheOptions ExecutionEngine::diskCacheOptions() const
|
2022-11-21 17:40:18 +00:00
|
|
|
{
|
2023-10-19 13:55:26 +00:00
|
|
|
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;
|
2022-11-21 17:40:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void ExecutionEngine::callInContext(QV4::Function *function, QObject *self,
|