digikam/digikam-gphoto-codeset.patch

30 lines
697 B
Diff
Raw Normal View History

--- digikam/utilities/cameragui/gpcamera.cpp
+++ digikam/utilities/cameragui/gpcamera.cpp
@@ -361,7 +361,7 @@
return false;
}
- subFolderList.append(QString(subFolder));
+ subFolderList.append(QFile::decodeName(subFolder));
}
gp_list_unref(clist);
@@ -408,7 +408,7 @@
return false;
}
- itemsList.append(cname);
+ itemsList.append(QFile::decodeName(cname));
}
gp_list_unref(clist);
@@ -461,7 +461,7 @@
GPItemInfo itemInfo;
- itemInfo.name = cname;
+ itemInfo.name = QFile::decodeName(cname);
itemInfo.folder = folder;
CameraFileInfo info;