What if you put the following at the beginning of DoCommand():
Qt Code:
  1. qDebug() << Q_FUNC_INFO;
To copy to clipboard, switch view to plain text mode 

Does the message get printed to the console?