##// END OF EJS Templates
Changes the name of the mokc plugin nodes to facilitate their access in the merged tree
Alexandre Leroux -
r1043:a94048bf05e3
parent child
Show More
@@ -48,7 +48,7 std::unique_ptr<DataSourceItem> createDataSourceItem(const QUuid &dataSourceUid)
48 {
48 {
49 // Magnetic field products
49 // Magnetic field products
50 auto magneticFieldFolder = std::make_unique<DataSourceItem>(DataSourceItemType::NODE,
50 auto magneticFieldFolder = std::make_unique<DataSourceItem>(DataSourceItemType::NODE,
51 QStringLiteral("Magnetic field"));
51 QStringLiteral("_Magnetic field"));
52 magneticFieldFolder->appendChild(
52 magneticFieldFolder->appendChild(
53 createProductItem({{DataSourceItem::NAME_DATA_KEY, QStringLiteral("Scalar 10 Hz")},
53 createProductItem({{DataSourceItem::NAME_DATA_KEY, QStringLiteral("Scalar 10 Hz")},
54 {COSINUS_TYPE_KEY, "scalar"},
54 {COSINUS_TYPE_KEY, "scalar"},
@@ -87,7 +87,7 std::unique_ptr<DataSourceItem> createDataSourceItem(const QUuid &dataSourceUid)
87
87
88 // Electric field products
88 // Electric field products
89 auto electricFieldFolder = std::make_unique<DataSourceItem>(DataSourceItemType::NODE,
89 auto electricFieldFolder = std::make_unique<DataSourceItem>(DataSourceItemType::NODE,
90 QStringLiteral("Electric field"));
90 QStringLiteral("_Electric field"));
91
91
92 // Root
92 // Root
93 auto root = std::make_unique<DataSourceItem>(DataSourceItemType::NODE, DATA_SOURCE_NAME);
93 auto root = std::make_unique<DataSourceItem>(DataSourceItemType::NODE, DATA_SOURCE_NAME);
General Comments 0
You need to be logged in to leave comments. Login now