Use unique_ptr instead of QScopedPointer in Closure