summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/edit3d/edit3dview.cpp
diff options
context:
space:
mode:
authorAli Kianian <ali.kianian@qt.io>2023-02-03 13:16:56 +0200
committerAli Kianian <ali.kianian@qt.io>2023-02-03 16:27:44 +0000
commite5a930d2caa6a8aaea9631a7fb9a57cae28b0d2b (patch)
treeb3635d7ad7ac0e9c3f7799d3a1136782a4b5f70c /src/plugins/qmldesigner/components/edit3d/edit3dview.cpp
parent76a221633b529a9ec74daca9e6d10db33b023660 (diff)
downloadqt-creator-e5a930d2caa6a8aaea9631a7fb9a57cae28b0d2b.tar.gz
QmlDesigner: Apply the icon for imported models in the 3D context menu
Task-number: QDS-8970 Change-Id: I7078aaf12cecf19e5ddfcd77266b9d750889d933 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/edit3d/edit3dview.cpp')
-rw-r--r--src/plugins/qmldesigner/components/edit3d/edit3dview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/edit3d/edit3dview.cpp b/src/plugins/qmldesigner/components/edit3d/edit3dview.cpp
index 4d851320cd..9a72576e2c 100644
--- a/src/plugins/qmldesigner/components/edit3d/edit3dview.cpp
+++ b/src/plugins/qmldesigner/components/edit3d/edit3dview.cpp
@@ -230,7 +230,7 @@ void Edit3DView::handleEntriesChanged()
{EK_cameras, {tr("Cameras"), contextIcon(DesignerIcons::CameraIcon)}},
{EK_lights, {tr("Lights"), contextIcon(DesignerIcons::LightIcon)}},
{EK_primitives, {tr("Primitives"), contextIcon(DesignerIcons::PrimitivesIcon)}},
- {EK_importedModels, {tr("Imported Models"), {}}}
+ {EK_importedModels, {tr("Imported Models"), contextIcon(DesignerIcons::ImportedModelsIcon)}}
};
const QList<ItemLibraryEntry> itemLibEntries = model()->metaInfo().itemLibraryInfo()->entries();