summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-02-06 08:32:59 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-16 01:57:05 +0100
commit6a6425dff5fb12bf7522dd3c0894a43336667263 (patch)
tree4b08d5a874af51f4bb8e31413c246154f69ab8e2 /src/tools/rcc
parent10de7f77f4ff37899db57d08fbd2a2b0702d1ab0 (diff)
Don't hardcode the number 14 in meta-object generators
14 is the number of fields (ints) in the QMetaObjectPrivate struct as of revision 6. Use the calculated number of fields instead, so that the code will still be correct when more fields are added in future revisions. Change-Id: I4f2c2bfc125f3fabc8e8caedf5c6ba6c17a34d06 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/tools/rcc')
0 files changed, 0 insertions, 0 deletions