https://bugs.kde.org/show_bug.cgi?id=391824
Roman changed:
What|Removed |Added
Resolution|--- |INVALID
https://bugs.kde.org/show_bug.cgi?id=391824
--- Comment #3 from Sergio Martins ---
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"),
https://bugs.kde.org/show_bug.cgi?id=391824
--- Comment #2 from Roman ---
Created attachment 111374
--> https://bugs.kde.org/attachment.cgi?id=111374=edit
compilable-testcase
Minimal project that shows false positive warning. Uncomment strings to test
canonical way.
--
https://bugs.kde.org/show_bug.cgi?id=391824
--- Comment #1 from Sergio Martins ---
Can you show a compilable-testcase.
Must be minimal, as I'll shove the code directly into clazy's unit-tests
thanks
--
You are receiving this mail because:
You are watching all bug changes.