Learn more about cloning repositories
You have read-only access
Rename failWithWarning to failWithError and use it. Remove strange QTimer::singleShot(...) stuff.