summaryrefslogtreecommitdiffstats
path: root/src/gvcore/timeutils.h
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-17 22:22:18 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-22 18:29:30 +0900
commit801c90b6c2cb7b3632aa9d20da59b80b104d2c85 (patch)
treec894b2a503e5c8de59ef4f59407a1d88d5d831f3 /src/gvcore/timeutils.h
parent8064b0ca876e973bc855eb6ecbf6b63c1d0cdad8 (diff)
downloadgwenview-801c90b6c2cb7b3632aa9d20da59b80b104d2c85.tar.gz
gwenview-801c90b6c2cb7b3632aa9d20da59b80b104d2c85.zip
Load file metadata asynchronously
Synchronous load of metadata resulted in big delays when opening a directory with substantial amount of files. Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/17 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 8c522cac3456c10c5937c98bb6866323639aff51)
Diffstat (limited to 'src/gvcore/timeutils.h')
-rw-r--r--src/gvcore/timeutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/timeutils.h b/src/gvcore/timeutils.h
index 8d9e9c1..8570b36 100644
--- a/src/gvcore/timeutils.h
+++ b/src/gvcore/timeutils.h
@@ -29,7 +29,7 @@ namespace Gwenview {
namespace TimeUtils {
/**
- * Returns the time of an item, using EXIF info if available
+ * Returns the time of an item, using EXIF info if available and already loaded
*/
time_t getTime(const KFileItem*);