summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-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.