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>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commit2fdaaa59cca6c570d7de3aee78834cfc92f1911c
treecf81fb4db999b2ec98faa1231833d7462703a644
parent1262ccf8a6ead40b034d13498f17c3583c9010f4
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