mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixed ffz issue
This commit is contained in:
parent
07fc0c3ad7
commit
4884c88ed5
|
@ -69,6 +69,8 @@ macx {
|
|||
CONFIG(debug, debug|release) {
|
||||
DEFINES += C_DEBUG
|
||||
DEFINES += QT_DEBUG
|
||||
} else {
|
||||
DEFINES += NDEBUG
|
||||
}
|
||||
|
||||
# Submodules
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace {
|
|||
Url getEmoteLink(const QJsonObject &urls, const QString &emoteScale)
|
||||
{
|
||||
auto emote = urls.value(emoteScale);
|
||||
if (emote.isUndefined())
|
||||
if (emote.isUndefined() || emote.isNull())
|
||||
{
|
||||
return {""};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue