Re: [Interest] Looks like a bug to me.

2017-06-04 Thread Philippe
qDebug() << QString("B: %4%1%2%3") .arg(b, c, d, a); works Philippe On Mon, 5 Jun 2017 00:41:34 +1000 "Tony Rietwyk" wrote: > > Sent: Sunday, 4 June 2017 11:26 PM > > > > Hello (No, this is not spam): > > > > For me, the following: > > > >QString a = "XXX"; > >QString b = ""; > >

Re: [Interest] Looks like a bug to me.

2017-06-04 Thread Tony Rietwyk
> Sent: Sunday, 4 June 2017 11:26 PM > > Hello (No, this is not spam): > > For me, the following: > >QString a = "XXX"; >QString b = ""; >QString c = ""; >QString d = "1"; >qDebug() << QString("A: %1%2%3%4") .arg(a) .arg(b) .arg(c) .arg(d); >qDebug() << QString("B: %4%1%2

[Interest] Looks like a bug to me.

2017-06-04 Thread Bill Crocker
Hello (No, this is not spam): For me, the following: QString a = "XXX"; QString b = ""; QString c = ""; QString d = "1"; qDebug() << QString("A: %1%2%3%4") .arg(a) .arg(b) .arg(c) .arg(d); qDebug() << QString("B: %4%1%2%3") .arg(b) .arg(c) .arg(d) .arg(a); prints this: "A: XXX1"