QDoc: Change a check for found base classes to match the presumed intent


When processing classes to remove private, internal and duplicate base
classes, we check for a matching class, its status and if it occurs more
than once in the base class list.

However, it looks like the check for already found base classes is
inverted, causing base classes to be reprocessed if already seen.
It seems that it would be more appropriate to allow processing of base
classes that have not already been seen.

Change-Id: I54a607042798adb98f1750dc8055300f982665de
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit7f1901f2b41a9361e1188bbeff1a38f08610fbc3
parent6ce10f5971794e1ad9636d327bbe424dc32c2458
authorDavid Boddie <david.boddie@qt.io>
committerDavid Boddie <david.boddie@qt.io>
commit timeMon, 7 Sep 2026 13:17:50 +0000