From 76d0fcf3655be8bb6957faa9d447f45e3c607586 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 23 Sep 2020 00:37:45 +0200 Subject: [PATCH] Fix qdoc warning: use correct parameter type in QVariant c'tor Change-Id: Ic935c8ac22c6ac8955439353c9d36dd7ba46021c Reviewed-by: Fabian Kosmale --- src/corelib/kernel/qvariant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index e97ea3570d..56f7ead1e5 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -461,9 +461,9 @@ static void customClear(QVariant::Private *d) /*! - \fn QVariant::QVariant(int typeId, const void *copy) + \fn QVariant::QVariant(QMetaType type, const void *copy) - Constructs variant of type \a typeId, and initializes with + Constructs variant of type \a type, and initializes with \a copy if \a copy is not \nullptr. Note that you have to pass the address of the variable you want stored.