Reduce allocations using QStringLiteral

This commit is contained in:
Nicolas Werner 2021-12-29 04:28:08 +01:00
parent a3c4ebc460
commit d8ead9573b
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
46 changed files with 539 additions and 539 deletions

View file

@ -14,7 +14,7 @@ void
BlurhashRunnable::run()
{
if (m_requestedSize.width() < 0 || m_requestedSize.height() < 0) {
emit error("Blurhash needs size request");
emit error(QStringLiteral("Blurhash needs size request"));
return;
}
if (m_requestedSize.width() == 0 || m_requestedSize.height() == 0) {