Quote Originally Posted by Lykurg View Post
simply cast sender() to QDockWidget and see if the pointer is valid.
Do you mean !=NULL?