diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-11-30 11:06:19 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-11-30 15:57:44 +0000 |
commit | 1a32d975c8c8d7413aba824c786e3e0abef39744 (patch) | |
tree | dc9997586192435ccbe98a2daae0c40357705ea6 /src/runtime/q3dscustommaterial.cpp | |
parent | 1b8886aa0603fbff57d4428bcf1f665fd3aff4a6 (diff) |
Fix compiler warnings
- qWaitForWindowExposed must have its return value checked
- switch to int for layerCount, no real need for an explicit size
Change-Id: I9532fa498597d4d6cd7bc15d63d4a20f44c220b4
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/runtime/q3dscustommaterial.cpp')
-rw-r--r-- | src/runtime/q3dscustommaterial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/q3dscustommaterial.cpp b/src/runtime/q3dscustommaterial.cpp index 48fb1db..3d5a645 100644 --- a/src/runtime/q3dscustommaterial.cpp +++ b/src/runtime/q3dscustommaterial.cpp @@ -332,7 +332,7 @@ QString Q3DSCustomMaterial::resolveShaderIncludes(const QString &shaderCode) con return output; } -quint32 Q3DSCustomMaterial::layerCount() const +int Q3DSCustomMaterial::layerCount() const { return m_layerCount; } |