blob: 90b9b3abe2d0f653fd2ee5eff155ae19e382637c (
plain)
1
2
3
4
5
6
7
8
|
# ctor-missing-parent-argument
Warns when `QObject` derived classes don't have at least one CTOR receiving a QObject.
This is an attempt to catch classes which are missing the parent argument.
It doesn't have false-positives, but might miss true-positives. For example,
if you have a CTOR which receives a `QObject* but then forget to pass it to the
base CTOR.
|