mirror of https://github.com/Nheko-Reborn/nheko
If the QMimeData contains an image, it actually has a mime type of application/x-qt-image. At least in some cases accessing the image/* data returns a 0 length array. Accessing the data via ->imageData works however. So we use that as our accessor and pass it to the preview dialog.pull/100/head
parent
512db8c6ff
commit
cefe5fe719
Loading…
Reference in new issue