fixed ffz issue

This commit is contained in:
fourtf 2020-11-17 10:33:29 +01:00
parent 07fc0c3ad7
commit 4884c88ed5
2 changed files with 3 additions and 1 deletions

View file

@ -69,6 +69,8 @@ macx {
CONFIG(debug, debug|release) { CONFIG(debug, debug|release) {
DEFINES += C_DEBUG DEFINES += C_DEBUG
DEFINES += QT_DEBUG DEFINES += QT_DEBUG
} else {
DEFINES += NDEBUG
} }
# Submodules # Submodules

View file

@ -14,7 +14,7 @@ namespace {
Url getEmoteLink(const QJsonObject &urls, const QString &emoteScale) Url getEmoteLink(const QJsonObject &urls, const QString &emoteScale)
{ {
auto emote = urls.value(emoteScale); auto emote = urls.value(emoteScale);
if (emote.isUndefined()) if (emote.isUndefined() || emote.isNull())
{ {
return {""}; return {""};
} }