Drag and drop event->mimeData()->hasImage() return false , when droping image file
-
Hi
i like to build simple listView that support dropping images . simple.
this listview is added to to QDialog , when i implement the QDialog dropEvent
and try to check if the drop image is image . according to example i should first see if the data hasImage
but the event->mimeData()->hasImage() always returns me false, why ? -
For checking what is dumped, you can use the "dropsite example":http://doc.qt.nokia.com/4.7/draganddrop-dropsite.html