diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-08-30 10:16:47 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-08-30 14:18:17 +0200 |
commit | bc62914fe3b912dafbf091b229f060084e3dc9fd (patch) | |
tree | 86e85d6579c7173fbf8b71c509d328fff2a9a1b1 /tests/auto/qml/qmllint | |
parent | 4f5e36ac591ce534fdeea6fe66995fa5e20343ea (diff) |
QQmlSA: Turn BindingType into a enum class
This avoids future conflicts between different "Invalid" values.
Pick-to: 6.6
Change-Id: I42f3d6e5b6d1b46931999dc2c72177872a104be9
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint')
-rw-r--r-- | tests/auto/qml/qmllint/lintplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmllint/lintplugin.cpp b/tests/auto/qml/qmllint/lintplugin.cpp index ee9e0c839d..4666cef0bc 100644 --- a/tests/auto/qml/qmllint/lintplugin.cpp +++ b/tests/auto/qml/qmllint/lintplugin.cpp @@ -57,7 +57,7 @@ public: ? u"NULL"_s : (value.name().isNull() ? value.baseTypeName() : value.name())) - .arg(binding.bindingType()) + .arg(qToUnderlying(binding.bindingType())) .arg(bindingScope.baseTypeName()), plugin, bindingScope.sourceLocation()); } |