Blob Blame History Raw
--- digikam-0.9.3/digikam/utilities/cameragui/cameracontroller.cpp	2007-12-22 18:19:47.000000000 +0100
+++ digikam-0.9.3/digikam/utilities/cameragui/cameracontroller.cpp.new	2008-07-07 00:42:14.000000000 +0200
@@ -370,7 +370,7 @@
 
                 KURL tempURL(dest);
                 tempURL = tempURL.upURL();
-                tempURL.addPath( QString(".digikam-camera-tmp1-%1").arg(getpid()));
+                tempURL.addPath( QString(".digikam-camera-tmp1-%1").arg(getpid()).prepend(file));
                 QString temp = tempURL.path();
     
                 bool result = d->camera->downloadItem(folder, file, tempURL.path());
@@ -410,7 +410,7 @@
 
                         KURL tempURL2(dest);
                         tempURL2 = tempURL2.upURL();
-                        tempURL2.addPath( QString(".digikam-camera-tmp2-%1").arg(getpid()));
+                        tempURL2.addPath( QString(".digikam-camera-tmp2-%1").arg(getpid()).prepend(file));
                         temp = tempURL2.path();
 
                         if (!jpegConvert(tempURL.path(), tempURL2.path(), file, losslessFormat))