Use QtConcurrent instead of Loader thread class