Quote Originally Posted by luf View Post
If you need to make sure data is short and not long, double or other, you should typecast or convert instead of relying on %h from sprintf.
... or use additional parameters to QString::arg().