~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/dimg/filters/lens/testlensfuniface.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
int main (int argc, char** argv)
41
41
{
42
 
    if(argc != 2)
 
42
    if (argc != 2)
43
43
    {
44
44
        kDebug() << "testlensfuniface - test to parse metadata dedicated to LensFun";
45
45
        kDebug() << "Usage: <image>";
55
55
    DMetadata    meta(img.getMetadata());
56
56
    LensFunIface iface;
57
57
    LensFunIface::MetadataMatch ret = iface.findFromMetadata(meta);
 
58
 
58
59
    if (ret == LensFunIface::MetadataExactMatch)
59
60
    {
60
61
        LensFunFilter filter(&img, 0L, iface.settings());