[graphics/koko/release/26.08] src: Fix ignoring files with executable flag set
Oliver Beard <[email protected]> Tue, 4 Aug 2026 13:30:43 +0000 (UTC)
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 2ee59ebfc53b8a66e62d5c0cf51b2d3820908f7c by Oliver Beard, on behalf of Jan Miksa.
Committed on 04/08/2026 at 13:25.
Pushed by olib into branch 'release/26.08'.
Fix ignoring files with executable flag set
Fixing a bug preventing image files with executable flag set to be indexed and shown in Time views (Years, Months, Weeks and Days in left sidebar)
When I signed the bug I thought it was caused by date so program ignores files with create date before OS or Koko installation, but when debugging I've found this problem. I really can't imagine shorter fix than this.
BUG: 523847
M +1 -1 src/filesystemimagefetcher.cpp
https://invent.kde.org/graphics/koko/-/commit/2ee59ebfc53b8a66e62d5c0cf51b2d3820908f7c
diff --git a/src/filesystemimagefetcher.cpp b/src/filesystemimagefetcher.cpp
index 22dac8af..dc3337f3 100644
--- a/src/filesystemimagefetcher.cpp
+++ b/src/filesystemimagefetcher.cpp
@@ -33,7 +33,7 @@ void FileSystemImageFetcher::slotProcess()
const QString filePath = it.next();
const auto fileInfo = it.fileInfo();
- if (fileInfo.isDir() || fileInfo.isExecutable()) {
+ if (fileInfo.isDir()) {
continue;
}