summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2018-08-17 12:09:38 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2018-08-17 09:22:01 +0000
commit9c9e2bd4ec25df87293a7cd67a0e5f76e80eb7c8 (patch)
tree6ef4cce0a66a6e499a1fbdb85de4906763906f88
parent4d27ef5879cdfce3d7a630903381b7079d079c8e (diff)
Set the correct icon for qml streams in the project palette
Task-number: QT3DS-1975 Change-Id: I0ab68c2e3e4111525011ab060ba12c0acc4dafca Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--src/Authoring/Client/Code/Core/Utility/StudioObjectTypes.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Authoring/Client/Code/Core/Utility/StudioObjectTypes.cpp b/src/Authoring/Client/Code/Core/Utility/StudioObjectTypes.cpp
index cdd7e2cd..b8ce037c 100644
--- a/src/Authoring/Client/Code/Core/Utility/StudioObjectTypes.cpp
+++ b/src/Authoring/Client/Code/Core/Utility/StudioObjectTypes.cpp
@@ -184,6 +184,10 @@ const QString &CStudioObjectTypes::GetNormalIconName(EStudioObjectType inType)
static QString theString = QStringLiteral("presentation_used.png");
return theString;
}
+ case OBJTYPE_QML_STREAM: {
+ static QString theString = QStringLiteral("qml_used.png");
+ return theString;
+ }
case OBJTYPE_PROJECT: {
// Mahmoud_TODO: get a project icon from UX and replace this temp. one
static QString theString = QStringLiteral("qml_used.png");
@@ -282,6 +286,10 @@ const QString &CStudioObjectTypes::GetDisabledIconName(EStudioObjectType inType)
static QString theString = QStringLiteral("presentation_notUsed.png");
return theString;
}
+ case OBJTYPE_QML_STREAM: {
+ static QString theString = QStringLiteral("qml_notUsed.png");
+ return theString;
+ }
case OBJTYPE_PROJECT: {
// Mahmoud_TODO: get a project icon from UX and replace this temp. one
static QString theString = QStringLiteral("qml_notUsed.png");