Is result correct? What do you see if you put
Qt Code:
  1. qWarning() << result;
To copy to clipboard, switch view to plain text mode 
afterwards?

EDIT:

Do you call that snippet after the finished() signal was emitted?