forked from qt-creator/qt-creator
QmlDesigner: Change description of custom local components
Change-Id: I07589f105adf572b05f73bd7f39603612ad49b2f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user