summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2018-09-05 20:52:17 +0200
committerAndré Hartmann <aha_1980@gmx.de>2018-09-06 09:07:01 +0000
commit689a1e186b76853144802d9c29f0346856bd5fde (patch)
treeb1a19a3594ce65ffc23c512aa6ca1c1b26c1d4ef /examples
parent20ac20bcea8954a980d1acdbc4e9fa55011fe088 (diff)
QString: Fix snippet explaining "non-spaced numbered place markers"
The snippet tries to explain the advantage of str.arg("Hello", QString::number(20), QString::number(50)); over str.arg("Hello").arg(20).arg(50); which only makes sense, if str contains the same formating sequence, namely "%1%3%2". That also matches the belonging comment. Amends 8481500f639e3d5e2259db57847a2e7068e30650 Task-number: QTBUG-44044 Change-Id: Ic2595107bc599c6d244ebf88184a5cc5569ed4f1 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions