aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlimport_p.h
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@theqtcompany.com>2015-12-04 15:56:07 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-12-17 14:06:47 +0000
commit4b018848f7a7055976895de8a4b8208b58a36fac (patch)
tree0a7f67cd91437e5ef806446d802b96476c9e3e86 /src/qml/qml/qqmlimport_p.h
parentf89d8294f930914a8f7b933719596e2e3ebf1773 (diff)
qml: preserve composite singleton types.
Composite singleton types used to always have version -1,-1; regardless of what is written in qmldir. Change-Id: Ia193e73695e57095f6a09b97768805f2f23cd56a Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlimport_p.h')
-rw-r--r--src/qml/qml/qqmlimport_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlimport_p.h b/src/qml/qml/qqmlimport_p.h
index bda87f29b1..951b9752f3 100644
--- a/src/qml/qml/qqmlimport_p.h
+++ b/src/qml/qml/qqmlimport_p.h
@@ -118,6 +118,8 @@ public:
{
QString typeName;
QString prefix;
+ int majorVersion;
+ int minorVersion;
};
QList<CompositeSingletonReference> resolvedCompositeSingletons() const;