Sadly, we can't yet use the QMetaObject::invokeMethod that takes a functor... (cherry picked from commit fc68afeb)