Not that it matters much here, but  you can leave out QString::Number, as arg accepts numbers as well as strings.