Qt: find the sender (aka: invoking signal) for a slot

Written by  on August 27, 2017 

Sometimes several signals lead to one single slot. Without any parameter. So you are stuck and can’t find out who was the ‘caller’.
But wait, there is a nasty hack to find it for those which are direct connections.

Category : C++Qt

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.