mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
lint
This commit is contained in:
parent
b28fa86e6a
commit
9a90f8868f
3 changed files with 3 additions and 3 deletions
|
@ -1074,7 +1074,7 @@ ChatPage::verifyOneTimeKeyCountAfterStartup()
|
|||
c->second > std::numeric_limits<std::uint16_t>::max()
|
||||
? std::numeric_limits<std::uint16_t>::max()
|
||||
: static_cast<std::uint16_t>(c->second);
|
||||
count = c->second;
|
||||
count = c->second;
|
||||
}
|
||||
|
||||
nhlog::crypto()->info(
|
||||
|
|
|
@ -172,7 +172,7 @@ MxcImageProvider::download(const QString &id,
|
|||
opts.width = static_cast<uint8_t>(requestedSize.width() > 0 ? requestedSize.width() : -1);
|
||||
opts.height =
|
||||
static_cast<uint8_t>(requestedSize.height() > 0 ? requestedSize.height() : -1);
|
||||
opts.method = crop ? "crop" : "scale";
|
||||
opts.method = crop ? "crop" : "scale";
|
||||
http::client()->get_thumbnail(
|
||||
opts,
|
||||
[fileInfo, requestedSize, radius, then, id, crop, cropLocally](
|
||||
|
|
|
@ -557,7 +557,7 @@ utils::escapeBlacklistedHtml(const QString &rawStr)
|
|||
attrValueEnds.end());
|
||||
auto val = sanitizeValue(QByteArray(
|
||||
attrStart, static_cast<int>(valueEnd - attrStart)));
|
||||
attrStart = consumeSpaces(valueEnd);
|
||||
attrStart = consumeSpaces(valueEnd);
|
||||
|
||||
if (val.contains('"'))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue