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-b...@kde.org Reporter: elvis.angelac...@kde.org CC: smart...@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 watching all bug changes.