summaryrefslogtreecommitdiff
path: root/graphics/digikam/patches/patch-ag
blob: 0f8260d1b4d6c5be9e28d71e61bf5242cd948f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ag,v 1.1 2007/04/03 09:32:09 drochner Exp $

--- digikam/libs/widgets/metadata/gpswidget.cpp.orig	2007-03-30 12:24:59.000000000 +0200
+++ digikam/libs/widgets/metadata/gpswidget.cpp
@@ -305,7 +305,7 @@ bool GPSWidget::decodeMetadata()
     {
         setMetadataEmpty();
         DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
-                  << QString::fromAscii(e.what().c_str())
+                  << QString::fromAscii(e.what())
                   << ")" << endl;
         return false;
     }
@@ -343,7 +343,7 @@ QString GPSWidget::getTagTitle(const QSt
     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");
     }
@@ -360,7 +360,7 @@ QString GPSWidget::getTagDescription(con
     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");
     }