Add missing return

This commit is contained in:
Mm2PL 2020-02-10 16:55:59 +01:00
parent dc9acf1bf3
commit 979bf5e74a
No known key found for this signature in database
GPG key ID: 1C400DA5602DE62E

View file

@ -159,6 +159,8 @@ void upload(const QMimeData *source, ChannelPtr channel,
QString("Cannot upload file: %1, Couldn't convert "
"image to png.")
.arg(localPath)));
uploadMutex.unlock();
return;
}
}
else if (mime.inherits("image/gif"))