This function now takes a QString. This should be fine to use since it's in the 0.8.2 release which we require. (cherry picked from commit 9a4504ce61)
9a4504ce61