[clazy] [Bug 386134] Add qgraphicsitem_cast check.

Sergio Martins bugzilla_noreply at kde.org
Tue Oct 24 10:15:45 BST 2017


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

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at kde.org     |smartins at kde.org

--- Comment #1 from Sergio Martins <smartins at kde.org> ---
QGraphicsItem *item = ...;
if you do qgraphicsitem_cast<Foo>(item);

I can warn if Foo::type() is missing, indeed.

But what's this about "middle" ?
If Foo derives from Bar, and Bar::type() is also implemented, isn't this OK ?

Sorry, I've never used qgraphicsitem_cast

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list