diff options
Diffstat (limited to 'src/intent-server-lib/intent.cpp')
-rw-r--r-- | src/intent-server-lib/intent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intent-server-lib/intent.cpp b/src/intent-server-lib/intent.cpp index 5d6461f5..35ee0eac 100644 --- a/src/intent-server-lib/intent.cpp +++ b/src/intent-server-lib/intent.cpp @@ -201,7 +201,7 @@ bool Intent::checkParameterMatch(const QVariantMap ¶meters) const bool foundMatch = false; const QVariantList rvlist = requiredValue.toList(); for (const QVariant &rv2 : rvlist) { - if (actualValue.canConvert(int(rv2.type())) && actualValue == rv2) { + if (actualValue.canConvert(rv2.metaType()) && actualValue == rv2) { foundMatch = true; break; } |