[clazy] [Bug 376737] New: clazy-qstring-ref false positive with QVariant
Elvis Angelaccio
bugzilla_noreply at kde.org
Mon Feb 20 21:54:55 GMT 2017
https://bugs.kde.org/show_bug.cgi?id=376737
Bug ID: 376737
Summary: clazy-qstring-ref false positive with QVariant
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: elvis.angelaccio at kde.org
CC: smartins at kde.org
Target Milestone: ---
Consider the following line of code:
m_currentArchiveEntry->setProperty("size", line.mid(7).trimmed());
Using midRef() here would not compile (QVariant does not have a constructor
that accepts QStringRef objects), yet clazy shows a warning for this line.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list