diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-04-01 09:23:53 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-11 19:39:54 +0200 |
commit | 630c7b481184b5e0dd2e87b967fed421d574ee02 (patch) | |
tree | a6d95f0a479d47c12d791348331f4ab4a215147e /src/tools/moc/moc.cpp | |
parent | 5603be705e9e99b164bb85014c2abd0edf1d13f3 (diff) |
Cleanups in QMetaProperty
This changes the layout of the meta object data, so
also bump the meta object revision.
Original-patch-by: Lars Knoll <lars.knoll@qt.io>
Change-Id: I176fb16c207e8ebe59e358e69554be813406232f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/tools/moc/moc.cpp')
-rw-r--r-- | src/tools/moc/moc.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index bfbcde1507..8bb70a76dc 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -1415,10 +1415,6 @@ void Moc::parseProperty(ClassDef *def) createPropertyDef(propDef); next(RPAREN); - if(!propDef.notify.isEmpty()) - def->notifyableProperties++; - if (propDef.revision > 0) - ++def->revisionedProperties; def->propertyList += propDef; } @@ -1512,11 +1508,6 @@ void Moc::parsePrivateProperty(ClassDef *def) createPropertyDef(propDef); - if(!propDef.notify.isEmpty()) - def->notifyableProperties++; - if (propDef.revision > 0) - ++def->revisionedProperties; - def->propertyList += propDef; } @@ -1550,9 +1541,6 @@ void Moc::parsePrivateQProperty(ClassDef *def) next(RPAREN); - if (!propDef.notify.isEmpty()) - def->notifyableProperties++; - def->propertyList += propDef; } |