[graphics/koko] src: Fix ignoring files with executable flag set
Oliver Beard <[email protected]> Tue, 4 Aug 2026 12:23:41 +0000 (UTC)
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7a7489c505191e1b54630a19fb27c0b748c95dec by Oliver Beard, on behalf of Jan Miksa.
Committed on 04/08/2026 at 12:23.
Pushed by olib into branch 'master'.
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/7a7489c505191e1b54630a19fb27c0b748c95dec
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;
}