diff options
| author | Méven Car <[email protected]> | 2023-06-28 09:49:46 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-06-28 09:49:46 +0200 |
| commit | cd2e64154fd5446a7e19aff4cb147efe2f2ba31e (patch) | |
| tree | 37f4e2c8644129f809a66fd2f6b2c9b28d52fed8 /src/kitemviews/kfileitemmodelrolesupdater.h | |
| parent | dcd5c994bb1d331b94fdea8a5c6cd55a471b34b8 (diff) | |
| parent | ea56e1f75eae435c18e3934c402c94ae76ec9c11 (diff) | |
Merge branch 'master' into kf6
Diffstat (limited to 'src/kitemviews/kfileitemmodelrolesupdater.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodelrolesupdater.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kitemviews/kfileitemmodelrolesupdater.h b/src/kitemviews/kfileitemmodelrolesupdater.h index be6f23193..78fa757f8 100644 --- a/src/kitemviews/kfileitemmodelrolesupdater.h +++ b/src/kitemviews/kfileitemmodelrolesupdater.h @@ -260,7 +260,7 @@ private Q_SLOTS: void applyChangedBalooRoles(const QString &file); void applyChangedBalooRolesForItem(const KFileItem &file); - void slotDirectoryContentsCountReceived(const QString &path, int count, long size); + void slotDirectoryContentsCountReceived(const QString &path, int count, long long size); private: /** @@ -334,6 +334,9 @@ private: void trimHoverSequenceLoadedItems(); private: + /** + * enqueue directory size counting for KFileItem item at index + */ void startDirectorySizeCounting(const KFileItem &item, int index); enum State { Idle, Paused, ResolvingSortRole, ResolvingAllRoles, PreviewJobRunning }; @@ -370,7 +373,6 @@ private: QSet<QByteArray> m_resolvableRoles; QStringList m_enabledPlugins; qulonglong m_localFileSizePreviewLimit; - bool m_scanDirectories; // Items for which the sort role still has to be determined. QSet<KFileItem> m_pendingSortRoleItems; |
