camerauis/cameraxui/cxengine/src/cxefilesavethreadsymbian.cpp
changeset 52 7e18d488ac5f
parent 41 67457b2ffb33
child 58 ddba9caa7f32
equal deleted inserted replaced
46:c826656d6714 52:7e18d488ac5f
   336                     QImage snapshot(mSnapshots[idString]);
   336                     QImage snapshot(mSnapshots[idString]);
   337                     mSnapshots.remove(idString);
   337                     mSnapshots.remove(idString);
   338                     mSnapshots.insert(path, snapshot);
   338                     mSnapshots.insert(path, snapshot);
   339                 }
   339                 }
   340             }
   340             }
   341 
   341             CxeImageDataItemSymbian* item_s = qobject_cast<CxeImageDataItemSymbian*>(item);
   342             harvestFile(path, qobject_cast<CxeImageDataItemSymbian*>(item)->isLocationEnabled());
   342             if (item_s) {
       
   343                 harvestFile(path, item_s->isLocationEnabled());
       
   344             }
   343         }
   345         }
   344 
   346 
   345         // Delete item, since we own it
   347         // Delete item, since we own it
   346         delete item;
   348         delete item;
   347         item = NULL;
   349         item = NULL;