diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-02 16:59:24 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-02 16:59:24 +1000 |
| commit | c0c4e14e5859546d9308e0107d9f9b12249d5896 (patch) | |
| tree | dbf3db9fcea1dfa3c0d9c819ee1a015d39356bd0 /plugin/src/Caelestia/filesystemmodel.hpp | |
| parent | plugin/fsm: only update changed dir (diff) | |
| download | caelestia-shell-c0c4e14e5859546d9308e0107d9f9b12249d5896.tar.gz caelestia-shell-c0c4e14e5859546d9308e0107d9f9b12249d5896.tar.bz2 caelestia-shell-c0c4e14e5859546d9308e0107d9f9b12249d5896.zip | |
plugin/fsm: async update
Diffstat (limited to 'plugin/src/Caelestia/filesystemmodel.hpp')
| -rw-r--r-- | plugin/src/Caelestia/filesystemmodel.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/filesystemmodel.hpp b/plugin/src/Caelestia/filesystemmodel.hpp index e7e1cf2..978497e 100644 --- a/plugin/src/Caelestia/filesystemmodel.hpp +++ b/plugin/src/Caelestia/filesystemmodel.hpp @@ -4,6 +4,7 @@ #include <QDir> #include <QFileInfo> #include <QFileSystemWatcher> +#include <QFuture> #include <QImageReader> #include <QObject> #include <qqmlintegration.h> @@ -109,6 +110,7 @@ private: QDir m_dir; QFileSystemWatcher m_watcher; QList<FileSystemEntry*> m_entries; + QHash<QString, QFuture<QPair<QSet<QString>, QSet<QString>>>> m_futures; QString m_path; bool m_recursive; |