equal
deleted
inserted
replaced
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 } |