core: use QString to format number
cppcheck rightly complains that the format string and the types don't match. We now have a Qt that can format numbers for us, so just do that.
cppcheck rightly complains that the format string and the types don't match. We now have a Qt that can format numbers for us, so just do that.