Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.11.1
-
None
Description
How to reproduce:
-Define slots in base class as pure virtual
-Mark the virtual methods of base class as public slots
-Don't connect those slots
-emit signals from the subclass
-the FIRST slot (defined as pure virtual) will keep getting called and any logic inside that slot will be executed.
Workaround:
-Define your slots in the subclass as public and not public slots
Drawback:
-If you need to ask for slot methods using QMetaMethod on the subclass, you won't see them, you might wanna go up the chain to get those.