Quote Originally Posted by anda_skoa View Post
It doesn't matter if the signal is emitted in your own code or in Qt's code, the emit always works the same way.

The values passed to the signal at emit are the values the slots receive.

E.g. if the emit code looks like this
Qt Code:
  1. emit loadFinished(false);
To copy to clipboard, switch view to plain text mode 
or if it looks like this
Qt Code:
  1. bool someStatus = false;
  2.  
  3. emit loadFinished(someStatus);
To copy to clipboard, switch view to plain text mode 
then the slot will receive "false".

The signal/slot connection just transports the values to the slot, the value itself is determined by the code that emits the signal.

Cheers,
_
What could be the reason why the QT code is emitting a false value to 'ok'?