mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Add missing return
This commit is contained in:
parent
dc9acf1bf3
commit
979bf5e74a
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue