diff options
| author | Qudix <17361645+Qudix@users.noreply.github.com> | 2021-10-15 20:52:51 -0500 |
|---|---|---|
| committer | Qudix <17361645+Qudix@users.noreply.github.com> | 2021-10-15 20:52:51 -0500 |
| commit | 468a8b93831244df62b5e0fb162d752b310f86b3 (patch) | |
| tree | 2bcd328c8843624c89d9ada79b4c67e808ebcc1c /src | |
| parent | 081fa3ec93668ef3944c70c5de422d51c667acf4 (diff) | |
Disable qml cache
Diffstat (limited to 'src')
| -rw-r--r-- | src/moapplication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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);
|
