branches/extragear/kde3/graphics/digikam/utilities/cameragui

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

branches/extragear/kde3/graphics/digikam/utilities/cameragui

Gilles Caulier-4
SVN commit 708199 by cgilles:

digiKam from KDE3 branch : Camera Gui bug fix : if user skip downloading a file from camera
(for ex. when file already exist in target folder from computer), the status icon on icon view is not
set to "not downloaded" and still with "under downloading" status. This commit fix this problem.
CCMAIL: [hidden email]


 M  +3 -3      cameraui.cpp  


--- branches/extragear/kde3/graphics/digikam/utilities/cameragui/cameraui.cpp #708198:708199
@@ -1306,9 +1306,6 @@
     {
         iconItem->setDownloaded(status);
         d->view->ensureItemVisible(iconItem);
-
-        //if (iconItem->isSelected())
-          //  slotItemsSelected(iconItem, true);
     }
     
     if (status == GPItemInfo::DownloadedYes || status == GPItemInfo::DownloadFailed)
@@ -1322,7 +1319,10 @@
 {
     CameraIconViewItem* iconItem = d->view->findItem(folder, file);
     if (iconItem)
+    {
+        iconItem->setDownloaded(GPItemInfo::DownloadedNo);
         d->view->ensureItemVisible(iconItem);
+    }
 
     int curr = d->progress->progress();
     d->progress->setProgress(curr+1);
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel