[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/queuemanager/basetools/enhance
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2010-09-29 12:15:20
Message-ID: 20100929121520.1C1BBAC88E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1180924 by cgilles:

handle lensiface metadata match


 M  +2 -2      lensautofix.cpp  


--- trunk/extragear/graphics/digikam/utilities/queuemanager/basetools/enhance/lensautofix.cpp \
#1180923:1180924 @@ -191,9 +191,9 @@
     {
         LensFunIface iface;
         DMetadata    meta(image().getMetadata());
-        bool         ret = iface.findFromMetadata(meta);
+        LensFunIface::MetadataMatch ret = iface.findFromMetadata(meta);
         prm = iface.settings();
-        if (!ret) return false;
+        if (ret != LensFunIface::MetadataExactMatch) return false;
     }
     else
     {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic