SignalHandler: eradicate the last two Q_FOREACH in the class
Use a "consume-loop" over m_connectionsCounter to insulate the loops
from potenial re-entry into the class (disconnectNotify() calls
unknown code).
Yes, this sheds the QHash's capacity(). If this becomes a problem, it
can be fixed by moving oldConnectionsCounter back into
m_connectionsCounter, after clear()ing it.
Sister change to 485727b41ed777ee9392be8aa770adb1b4415aa6.
Change-Id: I73f8a16356258b8af210a8b3e7b00c523ca169e4
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>