summaryrefslogtreecommitdiffstats
path: root/src/gvcore/timeutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/timeutils.cpp')
-rw-r--r--src/gvcore/timeutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/timeutils.cpp b/src/gvcore/timeutils.cpp
index 3995833..c917232 100644
--- a/src/gvcore/timeutils.cpp
+++ b/src/gvcore/timeutils.cpp
@@ -30,7 +30,7 @@ namespace Gwenview {
namespace TimeUtils {
time_t getTime(const KFileItem* item) {
- const KFileMetaInfo& info = item->metaInfo();
+ const KFileMetaInfo& info = item->metaInfo(/*autogen=*/false);
if (info.isValid()) {
TQVariant value = info.value("Date/time");
TQDateTime dt = value.toDateTime();