Actually pass the mimetype we intended

macos-qt
Nicolas Werner 3 years ago
parent e52f90a941
commit c87af215e1
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/timeline/InputBar.cpp

@ -164,7 +164,7 @@ InputBar::insertMimeData(const QMimeData *md)
qvariant_cast<QImage>(md->imageData()).save(&buffer, "PNG");
QMimeData d;
d.setData(QStringLiteral("image/png"), ba);
startUploadFromMimeData(d, image.first());
startUploadFromMimeData(d, QStringLiteral("image/png"));
} else {
startUploadFromMimeData(*md, image.first());
}

Loading…
Cancel
Save