diff options
| author | Al <26797547+Al12rs@users.noreply.github.com> | 2021-10-16 16:18:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 16:18:46 +0200 |
| commit | 6df197579f8a30806c76bd5374137dad883377a4 (patch) | |
| tree | c99a70f1a0ae3a244465728f02d8fafb365ebcc4 /src | |
| parent | 081fa3ec93668ef3944c70c5de422d51c667acf4 (diff) | |
| parent | 1d20b993d7144e61fbed967095f24868bda7152a (diff) | |
Merge pull request #1599 from Qudix/disable_cache
Disable qml cache
Diffstat (limited to 'src')
| -rw-r--r-- | src/instancemanager.cpp | 4 | ||||
| -rw-r--r-- | src/moapplication.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp index e7474584..f2c031d0 100644 --- a/src/instancemanager.cpp +++ b/src/instancemanager.cpp @@ -601,9 +601,7 @@ QString InstanceManager::iniPath(const QString& instanceDir) const std::vector<QString> InstanceManager::globalInstancePaths() const { - const std::set<QString> ignore = { - "cache", "qtwebengine", - }; + const std::set<QString> ignore = { "qtwebengine" }; const QDir root(globalInstancesRootPath()); const auto dirs = root.entryList(QDir::Dirs | QDir::NoDotAndDotDot); diff --git a/src/moapplication.cpp b/src/moapplication.cpp index 4a6585dd..2e3af26e 100644 --- a/src/moapplication.cpp +++ b/src/moapplication.cpp @@ -160,6 +160,8 @@ MOApplication::MOApplication(int& argc, char** argv) {
TimeThis tt("MOApplication()");
+ qputenv("QML_DISABLE_DISK_CACHE", "true");
+
connect(&m_styleWatcher, &QFileSystemWatcher::fileChanged, [&](auto&& file){
log::debug("style file '{}' changed, reloading", file);
updateStyle(file);
|
