summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qml.h')
-rw-r--r--src/declarative/qml/qml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qml.h b/src/declarative/qml/qml.h
index 2c03aad..323525b 100644
--- a/src/declarative/qml/qml.h
+++ b/src/declarative/qml/qml.h
@@ -91,7 +91,7 @@ QT_BEGIN_NAMESPACE
#define QML_DEFINE_INTERFACE(INTERFACE) \
static int defineInterface##INTERFACE = qmlRegisterInterface<INTERFACE>(#INTERFACE);
-#define QML_DEFINE_EXTENDED_TYPE(URI, VERSION_MAJ, VERS, NAME, TYPE, EXTENSION) \
+#define QML_DEFINE_EXTENDED_TYPE(URI, VERSION_MAJ, VERSION_MIN, NAME, TYPE, EXTENSION) \
static int registerExtended##TYPE = qmlRegisterExtendedType<TYPE,EXTENSION>(#URI, VERSION_MAJ, VERSION_MIN, #NAME, #TYPE);
#define QML_DEFINE_TYPE(URI, VERSION_MAJ, VERSION_MIN, NAME, TYPE) \