summaryrefslogtreecommitdiffstats
path: root/src/intent-server-lib/intent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intent-server-lib/intent.cpp')
-rw-r--r--src/intent-server-lib/intent.cpp2
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 &parameters) 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;
}