mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Actually pass the mimetype we intended
This commit is contained in:
parent
e52f90a941
commit
c87af215e1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue