[HH] Connect to QFutureWatcher before setting the future.

Fixes #1776.