As I see it, there are only two ways to handle with the situation.
Option 1:
Use two signals for the pathRemoved
event. For example finishRemovingCharacter
is connected to pathRemoved
but NOT to pathRemovedSpecial
.
Option 2:
Add proper arguments to the pathRemoved
signal and then in the finishRemovingCharacter
slot check if it should continue or just ignore this event in which case you'll just return;
.