With QString-based classes, sprintf() is not needed: just use the arg() methods to replace any %1, %2, etc. markers. arg() handles pretty much any type given to it, so casting it also not necessary.
Also fixed other problems with variable initialization and log message arguments.
Fixed: Errors with string formatting
With QString-based classes, sprintf() is not needed: just
use the arg() methods to replace any %1, %2, etc. markers.
arg() handles pretty much any type given to it, so casting
it also not necessary.
Also fixed other problems with variable initialization and
log message arguments.