fix inclusion of QThread in Assignment