summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-21 23:19:18 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-21 23:19:18 +0100
commitc87af215e10223e140ddafaa4534bb53629002d7 (patch)
tree8c530bd7609067ae545aaf437aec9d950211c41a /src/timeline
parentProperly fix image uploads without image/* format (diff)
downloadnheko-c87af215e10223e140ddafaa4534bb53629002d7.tar.xz
Actually pass the mimetype we intended
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 2d29dbbd..b1877cd7 100644
--- a/src/timeline/InputBar.cpp
+++ b/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());
         }