diff options
author | Määttä Antti <antti.maatta@qt.io> | 2018-07-23 15:52:26 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2018-08-01 05:53:35 +0000 |
commit | da284e3bd0bc5972f84fb247f82e198261112c31 (patch) | |
tree | 042299e3b1dc4c922cdc9b7a2952dc3c4b811ae1 /src/Authoring/Studio/Render/StudioRendererTranslation.cpp | |
parent | 08587a77805ac33886b09a2919946002248460be (diff) |
Replace NVMin and NVMax with qMin and qMax in studio
Change-Id: Icafb1c544c973f60d7a524c57dad8e1e2f584f74
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Render/StudioRendererTranslation.cpp')
-rw-r--r-- | src/Authoring/Studio/Render/StudioRendererTranslation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Render/StudioRendererTranslation.cpp b/src/Authoring/Studio/Render/StudioRendererTranslation.cpp index 5e33ee4d..8cf5b085 100644 --- a/src/Authoring/Studio/Render/StudioRendererTranslation.cpp +++ b/src/Authoring/Studio/Render/StudioRendererTranslation.cpp @@ -111,7 +111,7 @@ struct STranslatorDataModelParser { auto theValue = GetPropertyValue<qt3ds::QT3DSI32>(inProperty); if (theValue.hasValue()) { - outValue = NVMax(theValue.getValue(), 0); + outValue = qMax(theValue.getValue(), 0); return true; } return false; |