Add missing return
This commit is contained in:
@@ -159,6 +159,8 @@ void upload(const QMimeData *source, ChannelPtr channel,
|
|||||||
QString("Cannot upload file: %1, Couldn't convert "
|
QString("Cannot upload file: %1, Couldn't convert "
|
||||||
"image to png.")
|
"image to png.")
|
||||||
.arg(localPath)));
|
.arg(localPath)));
|
||||||
|
uploadMutex.unlock();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (mime.inherits("image/gif"))
|
else if (mime.inherits("image/gif"))
|
||||||
|
|||||||
Reference in New Issue
Block a user