There is an issue while for instance we try to drag n drop several mail attachments from outlook.
I ask the QMimeData object to give me the data related to the mime type: application/x-qt-windows-mime;value="FileContents", and all I retrieve from this is the content of one file of the initial selection.
The problem is located in the method static QByteArray getData(int cf, IDataObject *pDataObj) (line 156) in the file qmime_win.cpp.
The code looks like that:
GetData is done only on one index of the object formatect, designed by the attribute lindex of the Windows structure FORMATETC:
You do not iterate on the index so the only data you read is the data of the first element dropped.
Would it be possible to fix it please?