replace QString::sprintf with QString::asprintf.

Authored by mreeves on Jan 19 2020, 11:23 PM.