Ticket #35794: patch-for-libgphoto2.5.diff
File patch-for-libgphoto2.5.diff, 902 bytes (added by jgosmann (Jan Gosmann), 12 years ago) |
---|
-
core/utilities/cameragui/devices/gpcamera.cpp
old new 1331 1331 1332 1332 errorCode = gp_camera_folder_put_file(d->camera, 1333 1333 QFile::encodeName(folder).constData(), 1334 QFile::encodeName(itemName).constData(), 1335 GP_FILE_TYPE_NORMAL, 1334 1336 cfile, 1335 1337 d->status->context); 1336 1338 … … 1651 1653 for (int i = 0 ; i < numPorts ; ++i) 1652 1654 { 1653 1655 gp_port_info_list_get_info(list, i, &info); 1654 plist.append(info.path); 1656 char *path; 1657 gp_port_info_get_path(info, &path); 1658 plist.append(path); 1655 1659 } 1656 1660 } 1657 1661