workspace()->updateOnAllDesktopsOfTransients() is not needed because we call setDesktops() for transients immediately after it.