Quote Originally Posted by wysota
Qt Code:
  1. action = emit getActionForTarget(target);
To copy to clipboard, switch view to plain text mode 

Since when does "emit" have a return value?
Since I wanted it to, naturally.

Actually, I was mislead by statements (elsewhere) that emit was "just a decoration for the programmer", that the signal was still "just a function call". I was actually thiking about this last night while sleeping and thinking of alternate routes of getting the data back to the connection thread.

Quote Originally Posted by wysota
Maybe you should just "register" an object will return the action and call it directly here instead of such weird statements as the one above?
As soon as I figure out just what you mean, I'm sure I'll try it.

Thanks again.

Cheers,
Bill