qt: use QString::setNum() rather than QString::sprintf()
authorSteve Lhomme <robux4@ycbcr.xyz>
Wed, 18 Dec 2024 10:57:05 +0000 (11:57 +0100)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commit1262ccf8a6ead40b034d13498f17c3583c9010f4
treea1916c41b546324efd94ea28e65b8672c2c5a8ff
parente32472f862281777e72c9a12d3524464897e3bac
qt: use QString::setNum() rather than QString::sprintf()

It's deprecated and one of the replacement suggested in the doc [^1].
QString::asprint() might be the more logical choice, but it's also not recommended [^2].

[^1] https://doc.qt.io/qt-5/qstring-obsolete.html#sprintf
[^2] https://doc.qt.io/qt-5/qstring.html#asprintf

Gbp-Pq: Name 0121-qt-use-QString-setNum-rather-than-QString-sprintf.patch
modules/gui/qt/menus.cpp