projects/guix·blob python-team · refs

16 lines · 674 B

1Retrieved from
2https://github.com/NixOS/nixpkgs/raw/master/pkgs/development/libraries/qt-5/5.15/qtdeclarative-default-disable-qmlcache.patch
3
4diff --git a/src/qml/qml/qqmltypeloader.cpp b/src/qml/qml/qqmltypeloader.cpp
5index 1d66e75..827567a 100644
6--- a/src/qml/qml/qqmltypeloader.cpp
7+++ b/src/qml/qml/qqmltypeloader.cpp
8@@ -727,7 +727,7 @@ bool QQmlTypeLoader::Blob::isDebugging() const
9
10 bool QQmlTypeLoader::Blob::diskCacheEnabled() const
11 {
12- return (!disableDiskCache() && !isDebugging()) || forceDiskCache();
13+ return forceDiskCache();
14 }
15
16 bool QQmlTypeLoader::Blob::qmldirDataAvailable(const QQmlRefPointer<QQmlQmldirData> &data, QList<QQmlError> *errors)