summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2018-05-31 14:09:33 +0300
committerTomi Korpipää <tomi.korpipaa@qt.io>2018-06-01 04:11:48 +0000
commit828c18fbe3b29d7e3571037f678ec43dd0ae1cba (patch)
treefff682ad098862e660e9900d9181ca75cff0bfa6 /src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp
parent8fc0026450fbd9c4591561874578001483cabacb (diff)
Clean up old controls
Remove unused controls from Authoring/Studio/Controls and some ancillary files elsewhere. Task-number: QT3DS-1828 Change-Id: I6461112a02cc24ef0c169b3a99de26b034065040 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp b/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp
index 12427b4f..b4c24b22 100644
--- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp
+++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.cpp
@@ -307,7 +307,7 @@ InspectorControlBase* InspectorControlModel::createMaterialItem(Qt3DSDMInspectab
break;
}
- for (size_t matIdx = 0, end = m_materials.size(); matIdx < end; ++matIdx) {
+ for (int matIdx = 0, end = int(m_materials.size()); matIdx < end; ++matIdx) {
if (m_materials[matIdx].m_relativePath == sourcePath)
item->m_value = values[matIdx + 2]; // +2 for standard and referenced materials
}