$NetBSD: patch-ae,v 1.1 2007/04/03 09:32:08 drochner Exp $

--- digikam/libs/widgets/metadata/exifwidget.cpp.orig	2007-03-30 12:17:43.000000000 +0200
+++ digikam/libs/widgets/metadata/exifwidget.cpp
@@ -181,7 +181,7 @@ bool ExifWidget::decodeMetadata()
     catch (Exiv2::Error& e)
     {
         DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
-                  << QString::fromAscii(e.what().c_str())
+                  << QString::fromAscii(e.what())
                   << ")" << endl;
         return false;
     }
@@ -211,7 +211,7 @@ QString ExifWidget::getTagTitle(const QS
     catch (Exiv2::Error& e) 
     {
         DDebug() << "Cannot get metadata tag title using Exiv2 ("
-                  << QString::fromAscii(e.what().c_str())
+                  << QString::fromAscii(e.what())
                   << ")" << endl;
         return i18n("Unknown");
     }
@@ -228,7 +228,7 @@ QString ExifWidget::getTagDescription(co
     catch (Exiv2::Error& e) 
     {
         DDebug() << "Cannot get metadata tag description using Exiv2 ("
-                  << QString::fromAscii(e.what().c_str())
+                  << QString::fromAscii(e.what())
                   << ")" << endl;
         return i18n("No description available");
     }
