camerauis/cameraxui/cxengine/src/cxecameradevicedesktop.cpp
changeset 60 a289dde0a1d6
parent 48 42ba2d16bf40
equal deleted inserted replaced
56:01e205c615b9 60:a289dde0a1d6
    98 */
    98 */
    99 void CxeCameraDeviceDesktop::loadPictures()
    99 void CxeCameraDeviceDesktop::loadPictures()
   100 {
   100 {
   101     CX_DEBUG_ENTER_FUNCTION();
   101     CX_DEBUG_ENTER_FUNCTION();
   102     QDir currentDir(".","*.jpg");
   102     QDir currentDir(".","*.jpg");
       
   103     CX_DEBUG(("Searching images from %s", qPrintable(currentDir.absolutePath())));
       
   104     CX_DEBUG(("Number of images found %d", currentDir.count()));
   103 
   105 
   104     if (!currentDir.count()) {
   106     if (!currentDir.count()) {
   105         mPictureList.append(QPixmap(360, 640));
   107         mPictureList.append(QPixmap(360, 640));
   106         return;
   108         return;
   107     }
   109     }