Fix compilation.

There is no + operator that takes a QByteArray and a QString (or vice
versa).

Change-Id: I8734923cbbb0360bc20f9775d57801803782716f
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Erik Verbruggen
2016-06-09 11:42:37 +02:00
parent a9066f30f0
commit ae7e03d51f
4 changed files with 5 additions and 5 deletions

View File

@@ -631,7 +631,7 @@ QString WatchItem::internalName() const
{
if (arrayIndex >= 0) {
if (const WatchItem *p = parentItem())
return p->iname + '.' + QByteArray::number(arrayIndex);
return p->iname + '.' + QString::number(arrayIndex);
}
return iname;
}