https://bugs.kde.org/show_bug.cgi?id=391824

--- Comment #3 from Sergio Martins <smart...@kde.org> ---
tr() doesn't take QString as argument, so there's no allocation

You can either use const char* in your translate function, or:
 translate(QStringLiteral("context"), QStringLiteral("string"),
QStringLiteral("disambiguation"));

I don't see a way clazy could distinguish this case

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to