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

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/cameragui
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2006-02-24 12:31:58
Message-ID: 1140784318.157152.25793.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 513071 by cgilles:

BugFix : since we have a sidebar to display Exif info, no need to send an event to \
open an error dialog if Exif can't be get from a Gphoto camera.

 M  +1 -6      cameracontroller.cpp  


--- trunk/extragear/graphics/digikam/utilities/cameragui/cameracontroller.cpp \
#513070:513071 @@ -292,13 +292,8 @@
             int   esize;
             d->camera->getExif(folder, file, &edata, esize);
 
-            if (!edata || !esize)
+            if (edata || esize)
             {
-                sendError(i18n("Failed to retrieve EXIF information for %1")
-                          .arg(file));
-            }
-            else
-            {
                 QByteArray  ba;
                 QDataStream ds(ba, IO_WriteOnly);
                 ds.writeRawBytes(edata, esize);


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

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