make QMakeProject's copy c'tor actually behave like one
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 3 Feb 2012 17:34:56 +0000 (18:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 6 Mar 2012 05:34:47 +0000 (06:34 +0100)
commit703ef4f79edb30b8cf90c5bb62b1adf7acba55ff
tree03828f846b2352ad2f2d84620aa6da0c6fdeeb23
parentff25691d00d634068c6389f8f1607d7cc95ac5be
make QMakeProject's copy c'tor actually behave like one

instead of initializing base_vars with the original's vars, initialize
vars itself. this has two consequences:
- there is no need to call read(0) to initialize vars
- one cannot usefully call the complex read() anymore, as that would
  re-initialize vars from base_vars

this is much closer to an actual copy than the previous "seeding with
existing project".

Change-Id: Ib007bc5b779aedb680a27329aa578f7c604a4308
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
qmake/generators/mac/pbuilder_pbx.cpp
qmake/project.cpp