xml-base.cpp
changeset 646 371945eb6d31
parent 574 56fa27b2be3e
child 760 59614eaf5fbb
     1.1 --- a/xml-base.cpp	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/xml-base.cpp	Mon Jan 14 16:26:59 2008 +0000
     1.3 @@ -8,7 +8,6 @@
     1.4  #include "misc.h"
     1.5  #include "settings.h"
     1.6  #include "linkablemapobj.h"
     1.7 -#include "version.h"
     1.8  
     1.9  /*
    1.10  static BranchObj *lastBranch;
    1.11 @@ -85,10 +84,9 @@
    1.12      return QXmlDefaultHandler::fatalError( exception );
    1.13  }
    1.14  
    1.15 -void parseBaseHandler::setMapEditor (MapEditor* e)
    1.16 +void parseBaseHandler::setModel (VymModel *m)
    1.17  {
    1.18 -    me=e;
    1.19 -	mc=me->getMapCenter();
    1.20 +	model=m;
    1.21  }
    1.22  
    1.23  void parseBaseHandler::setTmpDir (QString tp)