QmlDesigner: Change description of custom local components

Change-Id: I07589f105adf572b05f73bd7f39603612ad49b2f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2018-04-05 15:13:47 +02:00
parent 8f583631f8
commit d745e2fac0
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ bool ItemLibrarySection::sectionExpanded() const
QString ItemLibrarySection::sortingName() const
{
if (sectionName() == QStringLiteral("QML Components")) //Qml Components always come first
if (sectionName() == QStringLiteral("My QML Components")) //Qml Components always come first
return QStringLiteral("aaaa");
return sectionName();

View File

@@ -325,7 +325,7 @@ void SubComponentManager::registerQmlFile(const QFileInfo &fileInfo, const QStri
ItemLibraryEntry itemLibraryEntry;
itemLibraryEntry.setType(componentName.toUtf8());
itemLibraryEntry.setName(baseComponentName);
itemLibraryEntry.setCategory(QLatin1String("QML Components"));
itemLibraryEntry.setCategory(QLatin1String("My QML Components"));
if (!qualifier.isEmpty()) {
itemLibraryEntry.setRequiredImport(fixedQualifier);
}