diff options
author | Volker Hilsheimer <[email protected]> | 2020-09-23 00:37:45 +0200 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2020-09-23 16:59:08 +0200 |
commit | 76d0fcf3655be8bb6957faa9d447f45e3c607586 (patch) | |
tree | 5bb930086469db192322affc693ca51d4c5bde73 /src | |
parent | 000edd276510d6a896cb53173ee4771b887f0804 (diff) |
Fix qdoc warning: use correct parameter type in QVariant c'tor
Change-Id: Ic935c8ac22c6ac8955439353c9d36dd7ba46021c
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index e97ea3570d8..56f7ead1e5f 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. |