Added missed line break to header with empty thumbnail. (#1705)

This commit is contained in:
23rd 2020-06-14 12:51:54 +03:00 committed by GitHub
parent a2f2cac3fd
commit 78dab081d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,10 +91,11 @@ namespace {
.arg(s.title.toHtmlEscaped())
.arg(s.title.isEmpty() ? QString() : "<br><br>")
.arg(getSettings()->thumbnailSizeStream.getValue() > 0
? (thumbnail.isEmpty()
? "Couldn't fetch thumbnail"
: "<img src=\"data:image/jpg;base64, " + thumbnail +
"\"/><br>")
? ((thumbnail.isEmpty()
? "Couldn't fetch thumbnail"
: "<img src=\"data:image/jpg;base64, " +
thumbnail + "\"/>") +
"<br>")
: QString())
.arg(s.game.toHtmlEscaped())
.arg(s.game.isEmpty() ? QString() : "<br>")