Fix qdoc warning: use correct parameter type in QVariant c'tor

Change-Id: Ic935c8ac22c6ac8955439353c9d36dd7ba46021c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Volker Hilsheimer 2020-09-23 00:37:45 +02:00
parent 000edd2765
commit 76d0fcf365

View File

@ -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.