forked from qt-creator/qt-creator
QmlDesigner: Type of the propertyname is now PropertyName
And PropertyName is a typedef for QByteArray. Because we don't use the features of QString and the source would be cluttered with QLatin1Strings we changed the property name to QByteArray. Change-Id: Ib70ef136bbc411504b450456bd9bb705ae93dd25 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -175,7 +175,7 @@ QStandardItem *PluginPath::createModelItem()
|
||||
for (PluginDataList::iterator it = m_plugins.begin(); it != end; ++it) {
|
||||
QStandardItem *pluginItem = new QStandardItem(QFileInfo(it->path).fileName());
|
||||
if (instance(*it)) {
|
||||
pluginItem->appendRow(new QStandardItem(QString::fromLatin1(it->instanceGuard->metaObject()->className())));
|
||||
pluginItem->appendRow(new QStandardItem(QString::fromUtf8(it->instanceGuard->metaObject()->className())));
|
||||
pathItem->appendRow(pluginItem);
|
||||
} else {
|
||||
pluginItem->setToolTip(it->errorMessage);
|
||||
|
||||
Reference in New Issue
Block a user