summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-07-06 22:00:19 +0200
committerLars Knoll <lars.knoll@qt.io>2020-08-24 00:17:03 +0200
commit804cb94da9a299118300c215a4d7445faa6236c3 (patch)
tree7b277359804ae331f41edd21e94e6cc463a745d5
parentfc4a08cee7c67b20fd628af9f9dd2207ae62f4c7 (diff)
Small doc fix
Change-Id: I349f68c4b86558aba5db4e8fbe5d876447baaeb3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/corelib/kernel/qmetatype.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp
index 7440f58a1c..9ccb0c5e75 100644
--- a/src/corelib/kernel/qmetatype.cpp
+++ b/src/corelib/kernel/qmetatype.cpp
@@ -1595,12 +1595,10 @@ static QtPrivate::QMetaTypeInterface *interfaceForType(int typeId)
}
/*!
- \fn QMetaType::QMetaType(const int typeId)
+ \fn QMetaType::QMetaType(int typeId)
\since 5.0
Constructs a QMetaType object that contains all information about type \a typeId.
-
- \note The default parameter was added in Qt 5.15.
*/
QMetaType::QMetaType(int typeId) : QMetaType(interfaceForType(typeId)) {}