summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webchannel/variantargument_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webchannel/variantargument_p.h b/src/webchannel/variantargument_p.h
index 36fcfe7..09b864f 100644
--- a/src/webchannel/variantargument_p.h
+++ b/src/webchannel/variantargument_p.h
@@ -28,7 +28,7 @@ struct VariantArgument
operator QGenericArgument() const
{
if (type == QMetaType::QVariant) {
- return Q_ARG(QVariant, value);
+ return QGenericArgument("QVariant", &value);
}
if (!value.isValid()) {
return QGenericArgument();