qt: use QString::arg() rather than QString::sprintf()
authorSteve Lhomme <robux4@ycbcr.xyz>
Mon, 16 Dec 2024 15:01:44 +0000 (16:01 +0100)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)
commitbefbb33b708ebfe11ace455e53402340b17e0df6
treea07dace819e706ec7546a99ac4d47190ef8439f8
parenta3dd4a50a1fef9b767b3245ca811bc7029c72ae4
qt: use QString::arg() 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 0122-qt-use-QString-arg-rather-than-QString-sprintf.patch
modules/gui/qt/dialogs/bookmarks.cpp