diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-07-02 10:27:21 +0100 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-07-03 10:36:02 +0100 |
commit | 85c21500c52fe4cbfa1aa9d556296f85abc062b9 (patch) | |
tree | b2c5249329005e1e8558a197330de47291398ab3 | |
parent | c9eb0a41dfafa6a9e1dcb6216dcecfb7b039b40f (diff) |
Fix misuse of QByteArrayLiteral vs QStringLiteral
Change-Id: Ic42739ebefd3b5f81ab177d6d155da014c28bab9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r-- | tools/qgltf/qgltf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qgltf/qgltf.cpp b/tools/qgltf/qgltf.cpp index 98b2915d8..953bbe23f 100644 --- a/tools/qgltf/qgltf.cpp +++ b/tools/qgltf/qgltf.cpp @@ -1847,7 +1847,7 @@ void GltfExporter::exportMaterials(QJsonObject &materials, QHash<QString, QStrin if (vals.contains(it.key())) continue; // alpha is supported for the diffuse color. < 1 will enable blending. - const bool alpha = it.key() == QStringLiteral("diffuse"); + const bool alpha = it.key() == QByteArrayLiteral("diffuse"); if (alpha && it.value()[3] < 1.0f) opaque = false; vals[it.key()] = col2jsvec(it.value(), alpha); |