From 468a8b93831244df62b5e0fb162d752b310f86b3 Mon Sep 17 00:00:00 2001 From: Qudix <17361645+Qudix@users.noreply.github.com> Date: Fri, 15 Oct 2021 20:52:51 -0500 Subject: Disable qml cache --- src/moapplication.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/moapplication.cpp') 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); -- cgit v1.3.1