[clazy] [Bug 384926] New: ctor-missing-parent-argument for subclasses of QCoreApplication
Markus Enzenberger
bugzilla_noreply at kde.org
Thu Sep 21 11:45:29 BST 2017
https://bugs.kde.org/show_bug.cgi?id=384926
Bug ID: 384926
Summary: ctor-missing-parent-argument for subclasses of
QCoreApplication
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: markus.enzenberger at gmail.com
CC: smartins at kde.org
Target Milestone: ---
Clazy warns with ctor-missing-parent-argument for subclasses of
QCoreApplication, but the base class QCoreApplication has no constructor that
takes a parent object.
The Qt documentation explicitely mentions use cases for creating subclasses of
QCoreApplication, for example to override QCoreApplication::notify().
Would it be difficult for Clazy to detect if the base class is QCoreApplication
and suppress the warning in this case?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list