summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 00:37:45 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 16:59:08 +0200
commit76d0fcf3655be8bb6957faa9d447f45e3c607586 (patch)
tree5bb930086469db192322affc693ca51d4c5bde73 /src/corelib
parent000edd276510d6a896cb53173ee4771b887f0804 (diff)
Fix qdoc warning: use correct parameter type in QVariant c'tor
Change-Id: Ic935c8ac22c6ac8955439353c9d36dd7ba46021c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qvariant.cpp4
1 files 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.