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