camerauis/cameraxui/cxengine/src/cxefilesavethreadsymbian.cpp
changeset 56 01e205c615b9
parent 37 64817133cd1d
child 58 ddba9caa7f32
equal deleted inserted replaced
48:42ba2d16bf40 56:01e205c615b9
   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;