diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-12 16:48:02 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-12 16:48:02 +0100 |
commit | abdaad68fb94e2d61448a6dfc14847df8a2c32b9 (patch) | |
tree | 26855c5dd3bfffdbf319d5ba4a38223a28de3e7c /src/MediaViewTracker.vala | |
parent | 0f67b3cc674377559e66c5a6729fd499049a992f (diff) | |
parent | dd7f98a232efe86f6e6055119c9414a0f9d9e67b (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/MediaViewTracker.vala')
-rw-r--r-- | src/MediaViewTracker.vala | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/MediaViewTracker.vala b/src/MediaViewTracker.vala index 27fcf4a..ee96339 100644 --- a/src/MediaViewTracker.vala +++ b/src/MediaViewTracker.vala @@ -34,8 +34,7 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator { raw++; } - if (photo.get_master_file_format() != PhotoFileFormat.RAW || - photo.is_raw_developer_available(RawDeveloper.CAMERA)) { + if (photo.get_master_file_format() != PhotoFileFormat.RAW) { photos++; } } else if (source is VideoSource) { @@ -67,8 +66,7 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator { raw--; } - if (photo.get_master_file_format() != PhotoFileFormat.RAW || - photo.is_raw_developer_available(RawDeveloper.CAMERA)) { + if (photo.get_master_file_format() != PhotoFileFormat.RAW) { assert(photos > 0); photos--; } @@ -111,4 +109,3 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator { return "%d photos/%d videos/%d raw/%d flagged".printf(photos, videos, raw, flagged); } } - |