QTestTable: quote tag name in duplicate tag warning message
Easier to see what the duplicate tag name is. Change-Id: Iee156aa7d6766628ec60e712811a83a2ff66dbb1 Reviewed-by: Jason McDonald <macadder1@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
0627ab1727
commit
7941d3ab3e
@ -74,7 +74,7 @@ bool QTestTable::isEmpty() const
|
||||
QTestData *QTestTable::newData(const char *tag)
|
||||
{
|
||||
if (d->hasRow(tag))
|
||||
qWarning() << "Duplicate data tag" << tag << "- please rename.";
|
||||
qWarning("Duplicate data tag \"%s\" - please rename.", tag);
|
||||
|
||||
QTestData *dt = new QTestData(tag, this);
|
||||
d->addRow(dt);
|
||||
|
Loading…
Reference in New Issue
Block a user