Use rating from EXIF/XMP where available

This commit is contained in:
Eric Jiang
2019-05-16 17:09:46 -07:00
parent 7512093c20
commit 820024972a
5 changed files with 25 additions and 16 deletions

View File

@@ -164,17 +164,8 @@ public:
return cfs.md5;
}
int getRank () const
{
return cfs.rating;
}
void setRank (int rank)
{
if (cfs.rating != rank) {
cfs.rating = rank;
}
pparamsValid = true; // FIXME-piotr Is this the right way to refresh the cache? Probably not since pparams and cache should be 2 different things
}
int getRank () const;
void setRank (int rank);
int getColorLabel () const;
void setColorLabel (int colorlabel);