aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel/variantargument_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-07-16 13:09:17 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-07-18 08:31:09 -0700
commit85304a87e4764a210f9bac1d3be62ac9d3e92318 (patch)
treedb5bbbbb75fd325c8c22c4161d45e7bdcece55bd /src/webchannel/variantargument_p.h
parent478dbfb0754ba321d02aba812d99990f602cc7e9 (diff)
VariantArgument: use QGenericArgument directly instead of Q_ARG
Change-Id: I36b24183fbd041179f2ffffd1702682d7d5d17fe Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
Diffstat (limited to 'src/webchannel/variantargument_p.h')
-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();