[kcachegrind] QObject::setObjectName takes a QString, not a const char*

Review Request #129537 - Created Nov. 22, 2016 and submitted

Christian Ehrlicher

In Qt3 times, the qobject ctor signature contained a 'const char name' argument which was removed in Qt4. Since Qt4 setObjectName() takes a QString. Therefore I changed the char argument to a const QString& or removed it completly where not needed.
It should be considered to remove the argument completly and directly call foo->setObjectName() where needed.

Josef Weidendorfer
Josef Weidendorfer
Christian Ehrlicher
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b80aeb816a295cfb90af13c5c4d487beb84c51c0 by Christian Ehrlicher to branch master.