View | Details | Raw Unified
Collapse All | Expand All

(-) digikam-0.9.1.orig/digikam/libs/widgets/metadata/makernotewidget.cpp (-12 / +12 lines)
 Lines 181-187    Link Here 
    catch (Exiv2::Error& e)
    catch (Exiv2::Error& e)
    {
    {
        DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
        DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return false;
        return false;
    }
    }
 Lines 211-217    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("Unknown");
        return i18n("Unknown");
    }
    }
 Lines 228-234    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("No description available");
        return i18n("No description available");
    }
    }
 Lines 305-311    Link Here 
    {
    {
        setMetadataEmpty();
        setMetadataEmpty();
        DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
        DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return false;
        return false;
    }
    }
 Lines 343-349    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("Unknown");
        return i18n("Unknown");
    }
    }
 Lines 360-366    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {   
    {   
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("No description available");
        return i18n("No description available");
    }
    }
 Lines 156-162    Link Here 
    catch (Exiv2::Error& e)
    catch (Exiv2::Error& e)
    {
    {
        DDebug() << "Cannot parse IPTC metadata using Exiv2 ("
        DDebug() << "Cannot parse IPTC metadata using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return false;
        return false;
    }
    }
 Lines 185-191    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("Unknow");
        return i18n("Unknow");
    }
    }
 Lines 202-208    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("No description available");
        return i18n("No description available");
    }
    }
 Lines 198-204    Link Here 
    catch (Exiv2::Error& e)
    catch (Exiv2::Error& e)
    {
    {
        DDebug() << "Cannot parse MAKERNOTE metadata using Exiv2 ("
        DDebug() << "Cannot parse MAKERNOTE metadata using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return false;
        return false;
    }
    }
 Lines 227-233    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
        DDebug() << "Cannot get metadata tag title using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("Unknown");
        return i18n("Unknown");
    }
    }
 Lines 244-250    Link Here 
    catch (Exiv2::Error& e) 
    catch (Exiv2::Error& e) 
    {
    {
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
        DDebug() << "Cannot get metadata tag description using Exiv2 ("
                  << QString::fromAscii(e.what().c_str())
                  << QString::fromAscii(e.what())
                  << ")" << endl;
                  << ")" << endl;
        return i18n("No description available");
        return i18n("No description available");
    }
    }