diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-10 09:49:46 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-10 13:07:59 +0100 |
commit | ae44beb0cee29d915fd6807e6c57176e3416b4bc (patch) | |
tree | b64b4748f099b83a47d2710b370064dd8185392a /src/qml/qml/qqmltypeloader.cpp | |
parent | f807de3be0017fe460f68241fb2dad6d89926234 (diff) |
Make QML_FORCE_DISK_CACHE override isDebugging()
The way it was before, QML_FORCE_DISK_CACHE was rather useless.
Change-Id: Id6be04ff1feaaced97455a797656bd041878fa9f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypeloader.cpp')
-rw-r--r-- | src/qml/qml/qqmltypeloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypeloader.cpp b/src/qml/qml/qqmltypeloader.cpp index 748a93ccfe..e0131c0a98 100644 --- a/src/qml/qml/qqmltypeloader.cpp +++ b/src/qml/qml/qqmltypeloader.cpp @@ -710,7 +710,7 @@ bool QQmlTypeLoader::Blob::isDebugging() const bool QQmlTypeLoader::Blob::diskCacheEnabled() const { - return (!disableDiskCache() || forceDiskCache()) && !isDebugging(); + return (!disableDiskCache() && !isDebugging()) || forceDiskCache(); } bool QQmlTypeLoader::Blob::qmldirDataAvailable(const QQmlRefPointer<QQmlQmldirData> &data, QList<QQmlError> *errors) |