diff options
author | Pasi Keranen <pasi.keranen@qt.io> | 2018-09-19 13:50:35 +0300 |
---|---|---|
committer | Pasi Keränen <pasi.keranen@qt.io> | 2018-09-20 10:34:54 +0000 |
commit | e898e34ac3a36619304b02bce72201799f386fc9 (patch) | |
tree | 13b813c7e0935367f7109a9a8147b5922cce7636 /src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp | |
parent | 3a4d575f37fccca3c2634cecf950c9c41f0b7a19 (diff) |
Fix switch cases not handling all enum values
Task-number: QT3DS-2330
Change-Id: I4b39fdf325fb3f5832b8c7d6a8bac1c180d13eee
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp')
-rw-r--r-- | src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp b/src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp index 6c93ebba..b6077b04 100644 --- a/src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp +++ b/src/Authoring/QT3DSDM/Systems/Qt3DSDMValue.cpp @@ -152,6 +152,8 @@ QVariant SValue::toQVariant() const } case DataModelDataType::None: return {}; + default: + break; } return {}; } |